Class
TreeViewItemView

Visual representation of an item in the RadTreeView control.

Definition

Namespace:Telerik.Maui.Controls.TreeView

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
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

TreeViewItemView()

Initializes a new instance of the TreeViewItemView class.

Declaration

cs-api-definition
public TreeViewItemView()

Fields

BusyIndicatorStyleProperty

Identifies the BusyIndicatorStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty BusyIndicatorStyleProperty

Field Value

BindableProperty

CheckBoxStyleProperty

Identifies the CheckBoxStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty CheckBoxStyleProperty

Field Value

BindableProperty

ExpandButtonStyleProperty

Identifies the ExpandButtonStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty ExpandButtonStyleProperty

Field Value

BindableProperty

ImageSourceProperty

Identifies the ImageSource property.

Declaration

cs-api-definition
public static readonly BindableProperty ImageSourceProperty

Field Value

BindableProperty

ImageStyleProperty

Identifies the ImageStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty ImageStyleProperty

Field Value

BindableProperty

IndentationProperty

Identifies the Indentation property.

Declaration

cs-api-definition
public static readonly BindableProperty IndentationProperty

Field Value

BindableProperty

IsBusyProperty

Identifies the IsBusy property.

Declaration

cs-api-definition
public static readonly BindableProperty IsBusyProperty

Field Value

BindableProperty

IsCheckBoxVisibleProperty

Identifies the IsCheckBoxVisible property.

Declaration

cs-api-definition
public static readonly BindableProperty IsCheckBoxVisibleProperty

Field Value

BindableProperty

IsCheckedProperty

Identifies the IsChecked property.

Declaration

cs-api-definition
public static readonly BindableProperty IsCheckedProperty

Field Value

BindableProperty

IsExpandButtonVisibleProperty

Identifies the IsExpandButtonVisible property.

Declaration

cs-api-definition
public static readonly BindableProperty IsExpandButtonVisibleProperty

Field Value

BindableProperty

IsExpandedProperty

Identifies the IsExpanded property.

Declaration

cs-api-definition
public static readonly BindableProperty IsExpandedProperty

Field Value

BindableProperty

IsImageVisibleProperty

Identifies the IsImageVisible property.

Declaration

cs-api-definition
public static readonly BindableProperty IsImageVisibleProperty

Field Value

BindableProperty

IsLeafProperty

Identifies the IsLeaf property.

Declaration

cs-api-definition
public static readonly BindableProperty IsLeafProperty

Field Value

BindableProperty

LevelProperty

Identifies the Level property.

Declaration

cs-api-definition
public static readonly BindableProperty LevelProperty

Field Value

BindableProperty

SpacingProperty

Identifies the Spacing property.

Declaration

cs-api-definition
public static readonly BindableProperty SpacingProperty

Field Value

BindableProperty

Properties

BusyIndicatorStyle

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

Declaration

cs-api-definition
public Style BusyIndicatorStyle { get; set; }

Property Value

Style

CheckBoxStyle

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

Declaration

cs-api-definition
public Style CheckBoxStyle { get; set; }

Property Value

Style

ExpandButtonStyle

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

Declaration

cs-api-definition
public Style ExpandButtonStyle { get; set; }

Property Value

Style

ImageSource

Gets or sets the source of the image to display in the tree item. For more information see the ImageSource type.

Declaration

cs-api-definition
public ImageSource ImageSource { get; set; }

Property Value

ImageSource

ImageStyle

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

Declaration

cs-api-definition
public Style ImageStyle { get; set; }

Property Value

Style

Indentation

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

Declaration

cs-api-definition
public double Indentation { get; }

Property Value

double

IsBusy

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

Declaration

cs-api-definition
public bool IsBusy { get; }

Property Value

bool

IsCheckBoxVisible

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

Declaration

cs-api-definition
public bool IsCheckBoxVisible { get; }

Property Value

bool

IsChecked

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

Declaration

cs-api-definition
public bool? IsChecked { get; set; }

Property Value

bool?

IsExpandButtonVisible

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

Declaration

cs-api-definition
public bool IsExpandButtonVisible { get; set; }

Property Value

bool

IsExpanded

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

Declaration

cs-api-definition
public bool IsExpanded { get; set; }

Property Value

bool

IsImageVisible

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

Declaration

cs-api-definition
public bool IsImageVisible { get; set; }

Property Value

bool

IsLeaf

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

Declaration

cs-api-definition
public bool IsLeaf { get; }

Property Value

bool

Level

Gets the level of the item in the tree hierarchy.

Declaration

cs-api-definition
public int Level { get; }

Property Value

int

Spacing

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

Declaration

cs-api-definition
public double Spacing { get; set; }

Property Value

double

ToggleCheckedCommand

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

Declaration

cs-api-definition
public ICommand ToggleCheckedCommand { get; }

Property Value

ICommand

ToggleExpandedCommand

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

Declaration

cs-api-definition
public ICommand ToggleExpandedCommand { get; }

Property Value

ICommand

Methods

ChangeVisualState()

Declaration

cs-api-definition
protected override void ChangeVisualState()

Overrides SelectableItemView.ChangeVisualState()

OnPropertyChanged(string)

Declaration

cs-api-definition
protected override void OnPropertyChanged(string propertyName = null)

Parameters

propertyName

string

Overrides RadCompositeContentView.OnPropertyChanged(string)

Events

IsCheckedChanged

Raised when the IsChecked property has changed.

Declaration

cs-api-definition
public event EventHandler IsCheckedChanged

Event Value

EventHandler

IsExpandedChanged

Raised when the IsExpanded property has changed.

Declaration

cs-api-definition
public event EventHandler IsExpandedChanged

Event Value

EventHandler