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 jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI UI for Xamarin

    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 Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

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

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Forums
    • Videos
    • Blogs
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • 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 RadTreeView

Inheritance
System.Object
RadView
FormsListViewControlBase
RadTreeView
Inherited Members
RadView.OnNativeControlLoaded()
RadView.OnNativeControlUnloaded()
RadView.IsDefaultValue(String)
RadView.IsOperational
RadView.NativeControlLoaded
RadView.NativeControlUnloaded
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>

Sample Applications
  • Telerik Tagit
  • iOS Demo App
  • Android Demo App
Support Resources
  • iOS Wrappers
  • Android Wrappers
  • Xamarin.Forms SDK Examples
Community
  • Forums
  • Blogs
  • Feedback Portal

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.