Hex Terrains Framework
Search Results for

    Show / Hide Table of Contents

    Class UIListViewDataSourceBase<TItem>

    Inheritance
    object
    UIDataSource
    UIListViewDataSourceBase<TItem>
    Implements
    IDataSourceViewHashProvider
    ICommitChanges
    Inherited Members
    UIDataSource.Version
    UIDataSource.MarkDirty()
    UIDataSource.GetViewHashCode()
    UIDataSource.CommitChanges()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Fwt.UIToolkit.DataSources
    Assembly: fwt.uitoolkit.dll
    Syntax
    [Serializable]
    public class UIListViewDataSourceBase<TItem> : UIDataSource, IDataSourceViewHashProvider, ICommitChanges
    Type Parameters
    Name Description
    TItem

    Fields

    _items

    Declaration
    [SerializeField]
    protected IList<TItem> _items
    Field Value
    Type Description
    IList<TItem>

    _selectedIndex

    Declaration
    [SerializeField]
    protected int _selectedIndex
    Field Value
    Type Description
    int

    Properties

    Items

    Declaration
    [CreateProperty]
    public virtual IList<TItem> Items { get; set; }
    Property Value
    Type Description
    IList<TItem>

    OnSelectionChange

    Declaration
    [CreateProperty]
    public virtual Action<int> OnSelectionChange { get; set; }
    Property Value
    Type Description
    Action<int>

    SelectedIndex

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

    SelectedItem

    Declaration
    public virtual TItem SelectedItem { get; }
    Property Value
    Type Description
    TItem

    Methods

    GetSelectedItem()

    Declaration
    public virtual TItem GetSelectedItem()
    Returns
    Type Description
    TItem

    Implements

    UnityEngine.UIElements.IDataSourceViewHashProvider
    ICommitChanges

    Extension Methods

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