跳到主要内容

Class EditorDropdownMenu

Events

onSizeChanged

public event Action onSizeChanged;

Properties

defaultMaxHeight

public static float defaultMaxHeight { get; }

minWidth

public float minWidth { get; set; }

padding

public virtual float padding { get; }

maxHeight

public virtual float maxHeight { get; set; }

itemHeight

public virtual float itemHeight { get; }

overflowed

protected bool overflowed { get; private set; }

enableScrollbarResponse

protected virtual bool enableScrollbarResponse { get; }

maxContentDistance

protected float maxContentDistance { get; private set; }

scrollBar

protected ScrollBar scrollBar { get; private set; }

Methods

GeometryChangedCallback(GeometryChangedEvent geometryChangedEvent)

protected virtual void GeometryChangedCallback(GeometryChangedEvent geometryChangedEvent)