Class RadTreeView
Inherited Members
Namespace: Telerik.XamarinForms.DataControls
Assembly: Telerik.XamarinForms.DataControls.dll
Syntax
public class RadTreeView : FormsListViewControlBase, INotifyNativeControlLoaded, IParentElement
Constructors
RadTreeView()
Declaration
public RadTreeView()
Fields
CheckBoxModeProperty
Identifies the CheckBoxMode property.
Declaration
public static readonly BindableProperty CheckBoxModeProperty
Field Value
Xamarin.Forms.BindableProperty
|
CheckedItemsProperty
Identifies the CheckedItems property.
Declaration
public static readonly BindableProperty CheckedItemsProperty
Field Value
Xamarin.Forms.BindableProperty
|
DescriptorsProperty
Identifies the Descriptors property.
Declaration
public static readonly BindableProperty DescriptorsProperty
Field Value
Xamarin.Forms.BindableProperty
|
ItemsSourceProperty
Identifies the ItemsSource property.
Declaration
public static readonly BindableProperty ItemsSourceProperty
Field Value
Xamarin.Forms.BindableProperty
|
ItemStyleProperty
Identifies the ItemStyle property.
Declaration
public static readonly BindableProperty ItemStyleProperty
Field Value
Xamarin.Forms.BindableProperty
|
ItemStyleSelectorProperty
Identifies the ItemStyleSelector property.
Declaration
public static readonly BindableProperty ItemStyleSelectorProperty
Field Value
Xamarin.Forms.BindableProperty
|
Properties
CheckBoxMode
Gets or sets a value controlling the behavior of the CheckBoxes.
Declaration
public CheckBoxModes CheckBoxMode { get; set; }
Property Value
CheckBoxModes
|
CheckedItems
Gets a collection of items which are checked in UI.
Declaration
public CheckedItemsCollection CheckedItems { get; }
Property Value
CheckedItemsCollection
|
Commands
Gets the collection with all the custom commands registered with the CommandService. Custom commands have higher priority than the built-in (default) ones.
Declaration
public ObservableCollection<ControlCommandBase<RadTreeView>> Commands { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<ControlCommandBase<RadTreeView>>
|
CommandService
Gets the CommandService instance that manages the commanding behavior of this instance.
Declaration
public TreeViewCommandService CommandService { get; }
Property Value
TreeViewCommandService
|
Descriptors
Gets a collection of TreeViewDescriptor.
Declaration
public ObservableCollection<TreeViewDescriptor> Descriptors { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<TreeViewDescriptor>
|
ItemsSource
Gets or sets the data that will be visualized.
Declaration
public IEnumerable ItemsSource { get; set; }
Property Value
System.Collections.IEnumerable
|
ItemStyle
Gets or sets TreeViewItemStyle class which defines the look of the items.
Declaration
public TreeViewItemStyle ItemStyle { get; set; }
Property Value
TreeViewItemStyle
|
ItemStyleSelector
Gets or sets TreeViewStyleSelector class which selects a TreeViewItemStyle for each item separately.
Declaration
public TreeViewStyleSelector ItemStyleSelector { get; set; }
Property Value
TreeViewStyleSelector
|
Methods
CheckItem(Object)
Attempts to add an item to the CheckedItems collection.
Declaration
public void CheckItem(object item)
Parameters
System.Object
item
The item to be added. |
Collapse(Object)
Sends a specific item in its collapsed state.
Declaration
public void Collapse(object item)
Parameters
System.Object
item
The item to be collapsed. |
CollapseAll()
Sends all items in their collapsed state.
Declaration
public void CollapseAll()
Expand(Object)
Sends a specific item in its expanded state.
Declaration
public void Expand(object item)
Parameters
System.Object
item
The item to be expanded. |
ExpandAll()
Sends all items in their expanded state.
Declaration
public void ExpandAll()
OnBindingContextChanged()
Declaration
protected override void OnBindingContextChanged()
OnPropertyChanged(String)
Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
System.String
propertyName
|
ScrollItemIntoView(Object)
Declaration
public bool ScrollItemIntoView(object item)
Parameters
System.Object
item
|
Returns
System.Boolean
|
UncheckItem(Object)
Attempts to remove an item from the CheckedItems collection.
Declaration
public void UncheckItem(object item)
Parameters
System.Object
item
The item to be removed. |
Events
ItemCollapsed
Declaration
public event EventHandler<TreeViewItemEventArgs> ItemCollapsed
Event Type
System.EventHandler<TreeViewItemEventArgs>
|
ItemExpanded
Declaration
public event EventHandler<TreeViewItemEventArgs> ItemExpanded
Event Type
System.EventHandler<TreeViewItemEventArgs>
|
ItemHold
Declaration
public event EventHandler<TreeViewItemEventArgs> ItemHold
Event Type
System.EventHandler<TreeViewItemEventArgs>
|
ItemTapped
Declaration
public event EventHandler<TreeViewItemEventArgs> ItemTapped
Event Type
System.EventHandler<TreeViewItemEventArgs>
|