TreeViewItemView
Visual representation of an item in the RadTreeView control.
Definition
Namespace:Telerik.Maui.Controls.TreeView
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class TreeViewItemView : SelectableItemView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewItemViewSelectableItemViewTreeViewItemView...
Implements:
Inherited Members
Constructors
Initializes a new instance of the TreeViewItemView class.
public TreeViewItemView()
Fields
BusyIndicatorStyleProperty
BindableProperty
Identifies the BusyIndicatorStyle property.
public static readonly BindableProperty BusyIndicatorStyleProperty
CheckBoxStyleProperty
BindableProperty
Identifies the CheckBoxStyle property.
public static readonly BindableProperty CheckBoxStyleProperty
ExpandButtonStyleProperty
BindableProperty
Identifies the ExpandButtonStyle property.
public static readonly BindableProperty ExpandButtonStyleProperty
ImageSourceProperty
BindableProperty
Identifies the ImageSource property.
public static readonly BindableProperty ImageSourceProperty
ImageStyleProperty
BindableProperty
Identifies the ImageStyle property.
public static readonly BindableProperty ImageStyleProperty
IndentationProperty
BindableProperty
Identifies the Indentation property.
public static readonly BindableProperty IndentationProperty
IsBusyProperty
BindableProperty
Identifies the IsBusy property.
public static readonly BindableProperty IsBusyProperty
IsCheckBoxVisibleProperty
BindableProperty
Identifies the IsCheckBoxVisible property.
public static readonly BindableProperty IsCheckBoxVisibleProperty
IsCheckedProperty
BindableProperty
Identifies the IsChecked property.
public static readonly BindableProperty IsCheckedProperty
IsExpandButtonVisibleProperty
BindableProperty
Identifies the IsExpandButtonVisible property.
public static readonly BindableProperty IsExpandButtonVisibleProperty
IsExpandedProperty
BindableProperty
Identifies the IsExpanded property.
public static readonly BindableProperty IsExpandedProperty
IsImageVisibleProperty
BindableProperty
Identifies the IsImageVisible property.
public static readonly BindableProperty IsImageVisibleProperty
IsLeafProperty
BindableProperty
Identifies the IsLeaf property.
public static readonly BindableProperty IsLeafProperty
LevelProperty
BindableProperty
Identifies the Level property.
public static readonly BindableProperty LevelProperty
SpacingProperty
BindableProperty
Identifies the Spacing property.
public static readonly BindableProperty SpacingProperty
Properties
BusyIndicatorStyle
Style
Gets or sets the Style of the busy indicator. The target type of this Style is TreeViewItemBusyIndicator.
public Style BusyIndicatorStyle { get; set; }
CheckBoxStyle
Style
Gets or sets the Style of the check box. The target type of this Style is TreeViewItemCheckBox.
public Style CheckBoxStyle { get; set; }
ExpandButtonStyle
Style
Gets or sets the Style of the expand button. The target type of this Style is TreeViewItemExpandButton.
public Style ExpandButtonStyle { get; set; }
ImageSource
ImageSource
Gets or sets the source of the image to display in the tree item. For more information see the ImageSource type.
public ImageSource ImageSource { get; set; }
ImageStyle
Style
Gets or sets the Style of the image. The target type of this Style is TreeViewItemImage.
public Style ImageStyle { get; set; }
Gets the indentation in pixels of the tree item, based on its level in the tree hierarchy.
public double Indentation { get; }
Gets a value indicating whether the tree item is in a busy state.
public bool IsBusy { get; }
Gets a value indicating whether the check box is visible. For more information see the CheckBoxMode property.
public bool IsCheckBoxVisible { get; }
Gets or sets a value indicating whether the tree item is checked.
public bool? IsChecked { get; set; }
Gets or sets a value indicating whether the expand button is visible.
public bool IsExpandButtonVisible { get; set; }
Gets or sets a value indicating whether the tree item is expanded.
public bool IsExpanded { get; set; }
Gets or sets a value indicating whether the image is visible.
public bool IsImageVisible { get; set; }
Gets a value indicating whether this is a leaf item in the tree hierarchy.
public bool IsLeaf { get; }
Gets or sets the spacing in pixels between the elements of the tree item.
public double Spacing { get; set; }
Gets a command to toggle the checked state of the control.
public ICommand ToggleCheckedCommand { get; }
Gets a command to toggle the expanded state of the control.
public ICommand ToggleExpandedCommand { get; }
Methods
protected override void ChangeVisualState()
Overrides:
protected override void OnPropertyChanged(string propertyName = null)
Overrides:
Events
Raised when the IsChecked property has changed.
public event EventHandler IsCheckedChanged
Raised when the IsExpanded property has changed.
public event EventHandler IsExpandedChanged