Table of Contents

Class TreeView

Namespace
UraniumUI.Material.Controls
Assembly
UraniumUI.Material.dll
public class TreeView : VerticalStackLayout, INotifyPropertyChanged, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IViewController, IVisualElementController, IElementController, IGestureController, IGestureRecognizers, IPropertyMapperView, IHotReloadableView, IReplaceableView, IBindableLayout, IVisualTreeElement, IStackLayout, ILayout, IView, IElement, ITransform, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISafeAreaView, IPadding, ICrossPlatformLayout
Inheritance
TreeView
Implements
Inherited Members
Extension Methods

Constructors

TreeView()

public TreeView()

Fields

DefaultItemTemplate

public static DataTemplate DefaultItemTemplate

Field Value

DataTemplate

ExpanderTemplateProperty

public static readonly BindableProperty ExpanderTemplateProperty

Field Value

BindableProperty

ItemTemplateProperty

public static readonly BindableProperty ItemTemplateProperty

Field Value

BindableProperty

ItemsSourceProperty

public static readonly BindableProperty ItemsSourceProperty

Field Value

BindableProperty

LoadChildrenCommandProperty

public static readonly BindableProperty LoadChildrenCommandProperty

Field Value

BindableProperty

SelectedItemProperty

public static readonly BindableProperty SelectedItemProperty

Field Value

BindableProperty

SelectedItemsProperty

public static readonly BindableProperty SelectedItemsProperty

Field Value

BindableProperty

SelectionBrushProperty

public static readonly BindableProperty SelectionBrushProperty

Field Value

BindableProperty

SelectionColorProperty

public static readonly BindableProperty SelectionColorProperty

Field Value

BindableProperty

SelectionModeProperty

public static readonly BindableProperty SelectionModeProperty

Field Value

BindableProperty

UseAnimationProperty

public static readonly BindableProperty UseAnimationProperty

Field Value

BindableProperty

Properties

ChildrenBinding

public BindingBase ChildrenBinding { get; set; }

Property Value

BindingBase

ExpanderTemplate

public DataTemplate ExpanderTemplate { get; set; }

Property Value

DataTemplate

IsBusy

Only indicates if TreeView is busy or not. Doesn't affect anything visually.

public bool IsBusy { get; set; }

Property Value

bool

IsExpandedPropertyName

public string IsExpandedPropertyName { get; set; }

Property Value

string

IsLeafPropertyName

public string IsLeafPropertyName { get; set; }

Property Value

string

ItemTemplate

public DataTemplate ItemTemplate { get; set; }

Property Value

DataTemplate

ItemsSource

public IList ItemsSource { get; set; }

Property Value

IList

LoadChildrenCommand

public ICommand LoadChildrenCommand { get; set; }

Property Value

ICommand

SelectedItem

public object SelectedItem { get; set; }

Property Value

object

SelectedItems

public IList SelectedItems { get; set; }

Property Value

IList

SelectionBrush

public Brush SelectionBrush { get; set; }

Property Value

Brush

SelectionColor

public Color SelectionColor { get; set; }

Property Value

Color

SelectionMode

public SelectionMode SelectionMode { get; set; }

Property Value

SelectionMode

UseAnimation

public bool UseAnimation { get; set; }

Property Value

bool

Methods

OnHandlerChanged()

When overridden in a derived class, should raise the HandlerChanged event.

protected override void OnHandlerChanged()

Remarks

It is the implementor's responsibility to raise the HandlerChanged event.

OnItemsSourceSet()

protected virtual void OnItemsSourceSet()

OnSelectedItemsChanged(IList, IList)

protected virtual void OnSelectedItemsChanged(IList oldValue, IList newValue)

Parameters

oldValue IList
newValue IList

SelectedItemChanged()

protected virtual void SelectedItemChanged()