Hex Terrains Framework
Search Results for

    Show / Hide Table of Contents

    Class UIDropdown

    Inheritance
    object
    CallbackEventHandler
    Focusable
    VisualElement
    BindableElement
    BaseField<string>
    BasePopupField<string, string>
    PopupField<string>
    DropdownField
    UIDropdown
    Implements
    IEventHandler
    IResolvedStyle
    ITransform
    ITransitionAnimations
    IExperimentalFeatures
    IVisualElementScheduler
    IBindable
    INotifyValueChanged<string>
    IMixedValueSupport
    Inherited Members
    PopupField<string>.ussClassName
    PopupField<string>.labelUssClassName
    PopupField<string>.inputUssClassName
    PopupField<string>.SetValueWithoutNotify(string)
    PopupField<string>.formatSelectedValueCallback
    PopupField<string>.formatListItemCallback
    PopupField<string>.value
    PopupField<string>.index
    BasePopupField<string, string>.ussClassName
    BasePopupField<string, string>.textUssClassName
    BasePopupField<string, string>.arrowUssClassName
    BasePopupField<string, string>.labelUssClassName
    BasePopupField<string, string>.inputUssClassName
    BasePopupField<string, string>.SetValueWithoutNotify(string)
    BasePopupField<string, string>.UpdateMixedValueContent()
    BasePopupField<string, string>.textElement
    BasePopupField<string, string>.choices
    BasePopupField<string, string>.text
    BaseField<string>.noLabelVariantUssClassName
    BaseField<string>.labelDraggerVariantUssClassName
    BaseField<string>.mixedValueLabelUssClassName
    BaseField<string>.alignedFieldUssClassName
    BaseField<string>.mixedValueString
    BaseField<string>.serializedPropertyCopyName
    BaseField<string>.HandleEventBubbleUp(EventBase)
    BaseField<string>.UpdateMixedValueContent()
    BaseField<string>.rawValue
    BaseField<string>.labelElement
    BaseField<string>.label
    BaseField<string>.showMixedValue
    BaseField<string>.mixedValueLabel
    BindableElement.binding
    BindableElement.bindingPath
    VisualElement.disabledUssClassName
    VisualElement.Focus()
    VisualElement.SendEvent(EventBase)
    VisualElement.SetEnabledFromHierarchy(bool)
    VisualElement.SetEnabled(bool)
    VisualElement.MarkDirtyRepaint()
    VisualElement.ContainsPoint(Vector2)
    VisualElement.Overlaps(Rect)
    VisualElement.DoMeasure(float, VisualElement.MeasureMode, float, VisualElement.MeasureMode)
    VisualElement.ToString()
    VisualElement.GetClasses()
    VisualElement.ClearClassList()
    VisualElement.AddToClassList(string)
    VisualElement.RemoveFromClassList(string)
    VisualElement.ToggleInClassList(string)
    VisualElement.EnableInClassList(string, bool)
    VisualElement.ClassListContains(string)
    VisualElement.FindAncestorUserData()
    VisualElement.SetBinding(BindingId, Binding)
    VisualElement.GetBinding(BindingId)
    VisualElement.TryGetBinding(BindingId, out Binding)
    VisualElement.GetBindingInfos()
    VisualElement.HasBinding(BindingId)
    VisualElement.ClearBinding(BindingId)
    VisualElement.ClearBindings()
    VisualElement.GetHierarchicalDataSourceContext()
    VisualElement.GetDataSourceContext(BindingId)
    VisualElement.TryGetDataSourceContext(BindingId, out DataSourceContext)
    VisualElement.TryGetLastBindingToUIResult(in BindingId, out BindingResult)
    VisualElement.TryGetLastBindingToSourceResult(in BindingId, out BindingResult)
    VisualElement.Add(VisualElement)
    VisualElement.Insert(int, VisualElement)
    VisualElement.Remove(VisualElement)
    VisualElement.RemoveAt(int)
    VisualElement.Clear()
    VisualElement.ElementAt(int)
    VisualElement.IndexOf(VisualElement)
    VisualElement.Children()
    VisualElement.Sort(Comparison<VisualElement>)
    VisualElement.BringToFront()
    VisualElement.SendToBack()
    VisualElement.PlaceBehind(VisualElement)
    VisualElement.PlaceInFront(VisualElement)
    VisualElement.RemoveFromHierarchy()
    VisualElement.GetFirstOfType<T>()
    VisualElement.GetFirstAncestorOfType<T>()
    VisualElement.Contains(VisualElement)
    VisualElement.FindCommonAncestor(VisualElement)
    VisualElement.viewDataKey
    VisualElement.userData
    VisualElement.canGrabFocus
    VisualElement.focusController
    VisualElement.disablePlayModeTint
    VisualElement.usageHints
    VisualElement.transform
    VisualElement.scaledPixelsPerPoint
    VisualElement.layout
    VisualElement.contentRect
    VisualElement.paddingRect
    VisualElement.worldBound
    VisualElement.localBound
    VisualElement.worldTransform
    VisualElement.pickingMode
    VisualElement.name
    VisualElement.enabledInHierarchy
    VisualElement.enabledSelf
    VisualElement.languageDirection
    VisualElement.visible
    VisualElement.generateVisualContent
    VisualElement.dataSource
    VisualElement.dataSourcePath
    VisualElement.dataSourceType
    VisualElement.experimental
    VisualElement.hierarchy
    VisualElement.cacheAsBitmap
    VisualElement.parent
    VisualElement.panel
    VisualElement.contentContainer
    VisualElement.visualTreeAssetSource
    VisualElement.this[int]
    VisualElement.childCount
    VisualElement.schedule
    VisualElement.style
    VisualElement.resolvedStyle
    VisualElement.customStyle
    VisualElement.styleSheets
    VisualElement.tooltip
    Focusable.Blur()
    Focusable.focusable
    Focusable.tabIndex
    Focusable.delegatesFocus
    CallbackEventHandler.RegisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
    CallbackEventHandler.RegisterCallbackOnce<TEventType>(EventCallback<TEventType>, TrickleDown)
    CallbackEventHandler.RegisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TUserArgsType, TrickleDown)
    CallbackEventHandler.RegisterCallbackOnce<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TUserArgsType, TrickleDown)
    CallbackEventHandler.UnregisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
    CallbackEventHandler.UnregisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TrickleDown)
    CallbackEventHandler.HasTrickleDownHandlers()
    CallbackEventHandler.HasBubbleUpHandlers()
    CallbackEventHandler.ExecuteDefaultActionAtTarget(EventBase)
    CallbackEventHandler.HandleEventTrickleDown(EventBase)
    CallbackEventHandler.ExecuteDefaultAction(EventBase)
    CallbackEventHandler.NotifyPropertyChanged(in BindingId)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Fwt.UIToolkit
    Assembly: fwt.uitoolkit.dll
    Syntax
    [UxmlElement]
    public class UIDropdown : DropdownField, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IBindable, INotifyValueChanged<string>, IMixedValueSupport

    Constructors

    UIDropdown()

    Declaration
    public UIDropdown()

    Fields

    _itemsSourceBindingId

    Declaration
    protected static BindingId _itemsSourceBindingId
    Field Value
    Type Description
    BindingId

    _itemsSourcePath

    Declaration
    protected string _itemsSourcePath
    Field Value
    Type Description
    string

    _values

    Declaration
    protected List<string> _values
    Field Value
    Type Description
    List<string>

    Properties

    ItemsSourcePath

    Declaration
    [CreateProperty]
    [UxmlAttribute("items-source-path")]
    public string ItemsSourcePath { get; set; }
    Property Value
    Type Description
    string

    OnSelectionChange

    Declaration
    [CreateProperty]
    public object OnSelectionChange { get; set; }
    Property Value
    Type Description
    object

    SelectedItem

    Declaration
    [CreateProperty]
    public object SelectedItem { get; set; }
    Property Value
    Type Description
    object

    SelectedItemIndex

    Declaration
    [CreateProperty]
    public int SelectedItemIndex { get; set; }
    Property Value
    Type Description
    int

    itemsSource

    Declaration
    [CreateProperty]
    public IList itemsSource { get; set; }
    Property Value
    Type Description
    IList

    Methods

    CreateItemsSourceBinding()

    Declaration
    protected virtual void CreateItemsSourceBinding()

    OnAttachToPanel(AttachToPanelEvent)

    Declaration
    protected virtual void OnAttachToPanel(AttachToPanelEvent evt)
    Parameters
    Type Name Description
    AttachToPanelEvent evt

    OnItemsChanged()

    Declaration
    protected virtual void OnItemsChanged()

    OnSelectionChanged(int)

    Declaration
    protected virtual void OnSelectionChanged(int selectedIndex)
    Parameters
    Type Name Description
    int selectedIndex

    SelectionChanged(ChangeEvent<string>)

    Declaration
    protected virtual void SelectionChanged(ChangeEvent<string> evt)
    Parameters
    Type Name Description
    ChangeEvent<string> evt

    Implements

    UnityEngine.UIElements.IEventHandler
    UnityEngine.UIElements.IResolvedStyle
    UnityEngine.UIElements.ITransform
    UnityEngine.UIElements.Experimental.ITransitionAnimations
    UnityEngine.UIElements.IExperimentalFeatures
    UnityEngine.UIElements.IVisualElementScheduler
    UnityEngine.UIElements.IBindable
    UnityEngine.UIElements.INotifyValueChanged<T>
    UnityEngine.UIElements.IMixedValueSupport

    Extension Methods

    HashExtensions.GetHashCode_RefType<TValue>(TValue, int)
    Extensions_UnityObject.SmartDestroy(object)
    Extensions_UnityObject.SmartGetComponent<TComponent>(object)
    Extensions_UnityObject.SmartGetGameGameObject(object)
    In this article
    Back to top Generated by DocFX