skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • Resources Hub
    • .NET MAUI Tutorials and Learning
    • First Steps
    • Submit a Ticket
    • FAQs

    Docs & Resources

    • Docs
    • Demos
    • Migrate to .NET MAUI
    • Forums
    • Videos
    • Blogs

    Productivity and Design Tools

    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class TreeViewItemView

Visual representation of an item in the RadTreeView control.

Inheritance
System.Object
RadContentView
RadCompositeContentView
RadBorderContentView
ItemView
SelectableItemView
TreeViewItemView
Inherited Members
SelectableItemView.IsSelectedProperty
SelectableItemView.IsSelected
SelectableItemView.IsSelectedChanged
ItemView.ContentTemplateProperty
ItemView.TextColorProperty
ItemView.FontFamilyProperty
ItemView.FontSizeProperty
ItemView.FontAttributesProperty
ItemView.TextDecorationsProperty
ItemView.HorizontalTextAlignmentProperty
ItemView.VerticalTextAlignmentProperty
ItemView.HorizontalContentOptionsProperty
ItemView.VerticalContentOptionsProperty
ItemView.OnBindingContextChanged()
ItemView.OnHandlerChanged()
ItemView.InvalidateMeasureOverride()
ItemView.MeasureOverride(Double, Double)
ItemView.ArrangeOverride(Rect)
ItemView.ContentTemplate
ItemView.TextColor
ItemView.FontFamily
ItemView.FontSize
ItemView.FontAttributes
ItemView.TextDecorations
ItemView.HorizontalTextAlignment
ItemView.VerticalTextAlignment
ItemView.HorizontalContentOptions
ItemView.VerticalContentOptions
RadBorderContentView.BackgroundColorProperty
RadBorderContentView.BackgroundProperty
RadBorderContentView.BorderColorProperty
RadBorderContentView.BorderBrushProperty
RadBorderContentView.BorderThicknessProperty
RadBorderContentView.CornerRadiusProperty
RadBorderContentView.ContentPaddingProperty
RadBorderContentView.BackgroundColor
RadBorderContentView.Background
RadBorderContentView.BorderColor
RadBorderContentView.BorderBrush
RadBorderContentView.BorderThickness
RadBorderContentView.CornerRadius
RadBorderContentView.ContentPadding
RadCompositeContentView.StyleProperty
RadCompositeContentView.ControlTemplateProperty
RadCompositeContentView.OnApplyTemplate()
RadCompositeContentView.Style
RadCompositeContentView.ControlTemplate
RadContentView.ActualStyleClassProperty
RadContentView.OnChildAdded(Element)
RadContentView.OnChildRemoved(Element, Int32)
RadContentView.ActualStyleClass
Namespace: Telerik.Maui.Controls.TreeView
Assembly: Telerik.Maui.Controls.dll

Syntax

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

Constructors

TreeViewItemView()

Initializes a new instance of the TreeViewItemView class.

Declaration
public TreeViewItemView()

Fields

BusyIndicatorStyleProperty

Identifies the BusyIndicatorStyle property.

Declaration
public static readonly BindableProperty BusyIndicatorStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

CheckBoxStyleProperty

Identifies the CheckBoxStyle property.

Declaration
public static readonly BindableProperty CheckBoxStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ExpandButtonStyleProperty

Identifies the ExpandButtonStyle property.

Declaration
public static readonly BindableProperty ExpandButtonStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ImageSourceProperty

Identifies the ImageSource property.

Declaration
public static readonly BindableProperty ImageSourceProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ImageStyleProperty

Identifies the ImageStyle property.

Declaration
public static readonly BindableProperty ImageStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

IndentationProperty

Identifies the Indentation property.

Declaration
public static readonly BindableProperty IndentationProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

IsBusyProperty

Identifies the IsBusy property.

Declaration
public static readonly BindableProperty IsBusyProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

IsCheckBoxVisibleProperty

Identifies the IsCheckBoxVisible property.

Declaration
public static readonly BindableProperty IsCheckBoxVisibleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

IsCheckedProperty

Identifies the IsChecked property.

Declaration
public static readonly BindableProperty IsCheckedProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

IsExpandButtonVisibleProperty

Identifies the IsExpandButtonVisible property.

Declaration
public static readonly BindableProperty IsExpandButtonVisibleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

IsExpandedProperty

Identifies the IsExpanded property.

Declaration
public static readonly BindableProperty IsExpandedProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

IsImageVisibleProperty

Identifies the IsImageVisible property.

Declaration
public static readonly BindableProperty IsImageVisibleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

IsLeafProperty

Identifies the IsLeaf property.

Declaration
public static readonly BindableProperty IsLeafProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

LevelProperty

Identifies the Level property.

Declaration
public static readonly BindableProperty LevelProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

SpacingProperty

Identifies the Spacing property.

Declaration
public static readonly BindableProperty SpacingProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

Properties

BusyIndicatorStyle

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

Declaration
public Style BusyIndicatorStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style

CheckBoxStyle

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

Declaration
public Style CheckBoxStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style

ExpandButtonStyle

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

Declaration
public Style ExpandButtonStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style

ImageSource

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

Declaration
public ImageSource ImageSource { get; set; }
Property Value
Microsoft.Maui.Controls.ImageSource

ImageStyle

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

Declaration
public Style ImageStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style

Indentation

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

Declaration
public double Indentation { get; }
Property Value
System.Double

IsBusy

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

Declaration
public bool IsBusy { get; }
Property Value
System.Boolean

IsCheckBoxVisible

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

Declaration
public bool IsCheckBoxVisible { get; }
Property Value
System.Boolean

IsChecked

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

Declaration
public Nullable<bool> IsChecked { get; set; }
Property Value
System.Nullable<System.Boolean>

IsExpandButtonVisible

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

Declaration
public bool IsExpandButtonVisible { get; set; }
Property Value
System.Boolean

IsExpanded

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

Declaration
public bool IsExpanded { get; set; }
Property Value
System.Boolean

IsImageVisible

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

Declaration
public bool IsImageVisible { get; set; }
Property Value
System.Boolean

IsLeaf

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

Declaration
public bool IsLeaf { get; }
Property Value
System.Boolean

Level

Gets the level of the item in the tree hierarchy.

Declaration
public int Level { get; }
Property Value
System.Int32

Spacing

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

Declaration
public double Spacing { get; set; }
Property Value
System.Double

ToggleCheckedCommand

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

Declaration
public ICommand ToggleCheckedCommand { get; }
Property Value
System.Windows.Input.ICommand

ToggleExpandedCommand

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

Declaration
public ICommand ToggleExpandedCommand { get; }
Property Value
System.Windows.Input.ICommand

Methods

ChangeVisualState()

Declaration
protected override void ChangeVisualState()
Overrides
SelectableItemView.ChangeVisualState()

OnPropertyChanged(String)

Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
System.String propertyName

Overrides
RadCompositeContentView.OnPropertyChanged(String)

Events

IsCheckedChanged

Raised when the IsChecked property has changed.

Declaration
public event EventHandler IsCheckedChanged
Event Type
System.EventHandler

IsExpandedChanged

Raised when the IsExpanded property has changed.

Declaration
public event EventHandler IsExpandedChanged
Event Type
System.EventHandler

Extension Methods

AndroidTypeConversionExtensions.ToJavaObject(Object)
Sample Applications
  • Controls Samples App
  • Crypto Tracker App
Support Resources
  • .NET MAUI SDKBrowser App
Community
  • Forums
  • Blogs
  • Feedback Portal
  • YouTube Channel

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.