Class TreeView
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
ExpanderTemplateProperty
public static readonly BindableProperty ExpanderTemplateProperty
Field Value
ItemTemplateProperty
public static readonly BindableProperty ItemTemplateProperty
Field Value
ItemsSourceProperty
public static readonly BindableProperty ItemsSourceProperty
Field Value
LoadChildrenCommandProperty
public static readonly BindableProperty LoadChildrenCommandProperty
Field Value
SelectedItemProperty
public static readonly BindableProperty SelectedItemProperty
Field Value
SelectedItemsProperty
public static readonly BindableProperty SelectedItemsProperty
Field Value
SelectionBrushProperty
public static readonly BindableProperty SelectionBrushProperty
Field Value
SelectionColorProperty
public static readonly BindableProperty SelectionColorProperty
Field Value
SelectionModeProperty
public static readonly BindableProperty SelectionModeProperty
Field Value
UseAnimationProperty
public static readonly BindableProperty UseAnimationProperty
Field Value
Properties
ChildrenBinding
public BindingBase ChildrenBinding { get; set; }
Property Value
ExpanderTemplate
public DataTemplate ExpanderTemplate { get; set; }
Property Value
IsBusy
Only indicates if TreeView is busy or not. Doesn't affect anything visually.
public bool IsBusy { get; set; }
Property Value
IsExpandedPropertyName
public string IsExpandedPropertyName { get; set; }
Property Value
IsLeafPropertyName
public string IsLeafPropertyName { get; set; }
Property Value
ItemTemplate
public DataTemplate ItemTemplate { get; set; }
Property Value
ItemsSource
public IList ItemsSource { get; set; }
Property Value
LoadChildrenCommand
public ICommand LoadChildrenCommand { get; set; }
Property Value
SelectedItem
public object SelectedItem { get; set; }
Property Value
SelectedItems
public IList SelectedItems { get; set; }
Property Value
SelectionBrush
public Brush SelectionBrush { get; set; }
Property Value
SelectionColor
public Color SelectionColor { get; set; }
Property Value
SelectionMode
public SelectionMode SelectionMode { get; set; }
Property Value
UseAnimation
public bool UseAnimation { get; set; }
Property Value
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
SelectedItemChanged()
protected virtual void SelectedItemChanged()