New to Telerik UI for .NET MAUIStart a free 30-day trial

Visual representation of an item in the RadTreeView control.

Definition

Namespace:Telerik.Maui.Controls.TreeView

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class TreeViewItemView : SelectableItemView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewItemViewSelectableItemViewTreeViewItemView...

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIView...

Inherited Members SelectableItemView.IsSelectedPropertySelectableItemView.IsSelectedSelectableItemView.IsSelectedChangedItemView.ContentTemplatePropertyItemView.TextColorPropertyItemView.FontFamilyPropertyItemView.FontSizePropertyItemView.FontAttributesPropertyItemView.TextDecorationsPropertyItemView.HorizontalTextAlignmentPropertyItemView.VerticalTextAlignmentPropertyItemView.HorizontalContentOptionsPropertyItemView.VerticalContentOptionsPropertyItemView.OnBindingContextChanged()ItemView.OnHandlerChanged()ItemView.InvalidateMeasureOverride()ItemView.MeasureOverride(double, double)ItemView.ArrangeOverride(Rect)ItemView.ContentTemplateItemView.TextColorItemView.FontFamilyItemView.FontSizeItemView.FontAttributesItemView.TextDecorationsItemView.HorizontalTextAlignmentItemView.VerticalTextAlignmentItemView.HorizontalContentOptionsItemView.VerticalContentOptionsRadBorderContentView.BackgroundColorPropertyRadBorderContentView.BackgroundPropertyRadBorderContentView.BorderColorPropertyRadBorderContentView.BorderBrushPropertyRadBorderContentView.BorderThicknessPropertyRadBorderContentView.CornerRadiusPropertyRadBorderContentView.ContentPaddingPropertyRadBorderContentView.BackgroundColorRadBorderContentView.BackgroundRadBorderContentView.BorderColorRadBorderContentView.BorderBrushRadBorderContentView.BorderThicknessRadBorderContentView.CornerRadiusRadBorderContentView.ContentPaddingRadCompositeContentView.StylePropertyRadCompositeContentView.ControlTemplatePropertyRadCompositeContentView.OnApplyTemplate()RadCompositeContentView.StyleRadCompositeContentView.ControlTemplateRadContentView.ActualStyleClassPropertyRadContentView.OnChildAdded(Element)RadContentView.OnChildRemoved(Element, int)...

Constructors

Initializes a new instance of the TreeViewItemView class.

C#
public TreeViewItemView()

Fields

Identifies the BusyIndicatorStyle property.

C#
public static readonly BindableProperty BusyIndicatorStyleProperty

CheckBoxStyleProperty

BindableProperty

Identifies the CheckBoxStyle property.

C#
public static readonly BindableProperty CheckBoxStyleProperty

Identifies the ExpandButtonStyle property.

C#
public static readonly BindableProperty ExpandButtonStyleProperty

ImageSourceProperty

BindableProperty

Identifies the ImageSource property.

C#
public static readonly BindableProperty ImageSourceProperty

ImageStyleProperty

BindableProperty

Identifies the ImageStyle property.

C#
public static readonly BindableProperty ImageStyleProperty

IndentationProperty

BindableProperty

Identifies the Indentation property.

C#
public static readonly BindableProperty IndentationProperty

IsBusyProperty

BindableProperty

Identifies the IsBusy property.

C#
public static readonly BindableProperty IsBusyProperty

Identifies the IsCheckBoxVisible property.

C#
public static readonly BindableProperty IsCheckBoxVisibleProperty

IsCheckedProperty

BindableProperty

Identifies the IsChecked property.

C#
public static readonly BindableProperty IsCheckedProperty

Identifies the IsExpandButtonVisible property.

C#
public static readonly BindableProperty IsExpandButtonVisibleProperty

IsExpandedProperty

BindableProperty

Identifies the IsExpanded property.

C#
public static readonly BindableProperty IsExpandedProperty

IsImageVisibleProperty

BindableProperty

Identifies the IsImageVisible property.

C#
public static readonly BindableProperty IsImageVisibleProperty

IsLeafProperty

BindableProperty

Identifies the IsLeaf property.

C#
public static readonly BindableProperty IsLeafProperty

LevelProperty

BindableProperty

Identifies the Level property.

C#
public static readonly BindableProperty LevelProperty

SpacingProperty

BindableProperty

Identifies the Spacing property.

C#
public static readonly BindableProperty SpacingProperty

Properties

Gets or sets the Style of the busy indicator. The target type of this Style is TreeViewItemBusyIndicator.

C#
public Style BusyIndicatorStyle { get; set; }

Gets or sets the Style of the check box. The target type of this Style is TreeViewItemCheckBox.

C#
public Style CheckBoxStyle { get; set; }

Gets or sets the Style of the expand button. The target type of this Style is TreeViewItemExpandButton.

C#
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.

C#
public ImageSource ImageSource { get; set; }

Gets or sets the Style of the image. The target type of this Style is TreeViewItemImage.

C#
public Style ImageStyle { get; set; }

Gets the indentation in pixels of the tree item, based on its level in the tree hierarchy.

C#
public double Indentation { get; }

Gets a value indicating whether the tree item is in a busy state.

C#
public bool IsBusy { get; }

Gets a value indicating whether the check box is visible. For more information see the CheckBoxMode property.

C#
public bool IsCheckBoxVisible { get; }

Gets or sets a value indicating whether the tree item is checked.

C#
public bool? IsChecked { get; set; }

Gets or sets a value indicating whether the expand button is visible.

C#
public bool IsExpandButtonVisible { get; set; }

Gets or sets a value indicating whether the tree item is expanded.

C#
public bool IsExpanded { get; set; }

Gets or sets a value indicating whether the image is visible.

C#
public bool IsImageVisible { get; set; }

Gets a value indicating whether this is a leaf item in the tree hierarchy.

C#
public bool IsLeaf { get; }

Gets the level of the item in the tree hierarchy.

C#
public int Level { get; }

Gets or sets the spacing in pixels between the elements of the tree item.

C#
public double Spacing { get; set; }

Gets a command to toggle the checked state of the control.

C#
public ICommand ToggleCheckedCommand { get; }

Gets a command to toggle the expanded state of the control.

C#
public ICommand ToggleExpandedCommand { get; }

Methods

C#
protected override void ChangeVisualState()

Overrides: SelectableItemView.ChangeVisualState()

C#
protected override void OnPropertyChanged(string propertyName = null)
Parameters:propertyNamestring

Overrides: RadCompositeContentView.OnPropertyChanged(string)

Events

Raised when the IsChecked property has changed.

C#
public event EventHandler IsCheckedChanged

Raised when the IsExpanded property has changed.

C#
public event EventHandler IsExpandedChanged