Hex Terrains Framework
Search Results for

    Show / Hide Table of Contents

    Class SimpleListView

    Inheritance
    object
    CallbackEventHandler
    Focusable
    VisualElement
    SimpleListView
    Implements
    IEventHandler
    IResolvedStyle
    ITransform
    ITransitionAnimations
    IExperimentalFeatures
    IVisualElementScheduler
    Inherited Members
    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.HandleEventBubbleUp(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 SimpleListView : VisualElement, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler

    Constructors

    SimpleListView()

    Declaration
    public SimpleListView()

    Fields

    _alternateBackgroundClass

    Declaration
    protected string _alternateBackgroundClass
    Field Value
    Type Description
    string

    _isAlternateBackground

    Declaration
    protected bool _isAlternateBackground
    Field Value
    Type Description
    bool

    _itemClass

    Declaration
    protected string _itemClass
    Field Value
    Type Description
    string

    _itemTemplate

    Declaration
    protected VisualTreeAsset _itemTemplate
    Field Value
    Type Description
    VisualTreeAsset

    _itemsSource

    Declaration
    protected IList _itemsSource
    Field Value
    Type Description
    IList

    _itemsSourceBindingId

    Declaration
    protected static BindingId _itemsSourceBindingId
    Field Value
    Type Description
    BindingId

    _itemsSourcePath

    Declaration
    protected string _itemsSourcePath
    Field Value
    Type Description
    string

    _itemsViews

    Declaration
    protected List<VisualElement> _itemsViews
    Field Value
    Type Description
    List<VisualElement>

    Properties

    AlternateBackgroundClass

    Declaration
    [CreateProperty]
    [UxmlAttribute(name = "alternate-background-class")]
    public string AlternateBackgroundClass { get; set; }
    Property Value
    Type Description
    string

    IsAlternateBackground

    Declaration
    [CreateProperty]
    [UxmlAttribute(name = "is-alternate-background")]
    public bool IsAlternateBackground { get; set; }
    Property Value
    Type Description
    bool

    ItemClass

    Declaration
    [CreateProperty]
    [UxmlAttribute(name = "item-class")]
    public string ItemClass { get; set; }
    Property Value
    Type Description
    string

    ItemTemplate

    Declaration
    [CreateProperty]
    [UxmlAttribute(name = "item-template")]
    public VisualTreeAsset ItemTemplate { get; set; }
    Property Value
    Type Description
    VisualTreeAsset

    ItemsSourcePath

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

    itemsSource

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

    Methods

    AddClassToItemViews(string)

    Declaration
    protected virtual void AddClassToItemViews(string className)
    Parameters
    Type Name Description
    string className

    ClearItemViews()

    Declaration
    protected virtual void ClearItemViews()

    CreateItemsSourceBinding()

    Declaration
    protected virtual void CreateItemsSourceBinding()

    OnAlternateBackgroundChanged(string)

    Declaration
    protected virtual void OnAlternateBackgroundChanged(string oldValue)
    Parameters
    Type Name Description
    string oldValue

    OnAttachToPanel(AttachToPanelEvent)

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

    OnIsAlternateBackgroundChanged()

    Declaration
    protected virtual void OnIsAlternateBackgroundChanged()

    OnItemClassChanged()

    Declaration
    protected virtual void OnItemClassChanged()

    OnItemTemplateChanged()

    Declaration
    protected virtual void OnItemTemplateChanged()

    OnItemsChanged()

    Declaration
    protected virtual void OnItemsChanged()

    RefreshItemViews()

    Declaration
    protected virtual void RefreshItemViews()

    RemoveClassFromItemViews(string)

    Declaration
    protected virtual void RemoveClassFromItemViews(string className)
    Parameters
    Type Name Description
    string className

    SetItemsViewsDataSource()

    Declaration
    protected virtual void SetItemsViewsDataSource()

    UpdateItemViewsAltBackgroundClass()

    Declaration
    protected virtual void UpdateItemViewsAltBackgroundClass()

    UpdateItemsViewsCount()

    Declaration
    protected virtual void UpdateItemsViewsCount()

    Implements

    UnityEngine.UIElements.IEventHandler
    UnityEngine.UIElements.IResolvedStyle
    UnityEngine.UIElements.ITransform
    UnityEngine.UIElements.Experimental.ITransitionAnimations
    UnityEngine.UIElements.IExperimentalFeatures
    UnityEngine.UIElements.IVisualElementScheduler

    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