Class SfTreeNavigator
Represents a control that enables the user to navigate through items SfTreeNavigatorItem in a tree structure SfTreeNavigator
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Controls.Navigation
Assembly: Syncfusion.SfTreeNavigator.UWP.dll
Syntax
public class SfTreeNavigator : HeaderedItemsControl, IDisposable
Constructors
SfTreeNavigator()
Initializes a new instance of the SfTreeNavigator class.
Declaration
public SfTreeNavigator()
See Also
Fields
DrillDownItemProperty
Using a DependencyProperty as the backing store for DrillDownItem. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty DrillDownItemProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.DependencyProperty |
DrillDownItemsProperty
Using a DependencyProperty as the backing store for DrillDownItems. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty DrillDownItemsProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.DependencyProperty |
NavigationModeProperty
Using a DependencyProperty as the backing store for NavigationMode. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty NavigationModeProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.DependencyProperty |
SelectedItemProperty
Using a DependencyProperty as the backing store for SelectedItem. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SelectedItemProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.DependencyProperty |
Properties
DrillDownItem
Gets the child item SfTreeNavigatorItem
Declaration
public HeaderedItemsControl DrillDownItem { get; }
Property Value
| Type |
|---|
| HeaderedItemsControl |
DrillDownItems
Gets or sets a collection of the child items SfTreeNavigatorItem
Declaration
public ObservableCollection<object> DrillDownItems { get; set; }
Property Value
| Type |
|---|
| System.Collections.ObjectModel.ObservableCollection<System.Object> |
NavigationMode
Gets or sets the mode of navigation to other items NavigationMode
Declaration
public NavigationMode NavigationMode { get; set; }
Property Value
| Type |
|---|
| NavigationMode |
SelectedItem
Gets or sets the item SfTreeNavigatorItem
that has been selected by the user.
Declaration
public object SelectedItem { get; set; }
Property Value
| Type |
|---|
| System.Object |
Methods
ArrangeOverride(Size)
Overridden method for the Size.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
| Type | Name | Description |
|---|---|---|
| Windows.Foundation.Size | finalSize | Parameter to get the size. |
Returns
| Type | Description |
|---|---|
| Windows.Foundation.Size | Returns Size |
Dispose()
To clear unused objects
Declaration
public void Dispose()
GoBack()
When invoked, the control passes back to the parent item.
Declaration
public void GoBack()
MeasureOverride(Size)
Overridden method get the available Size.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
| Type | Name | Description |
|---|---|---|
| Windows.Foundation.Size | availableSize | Parameter to get the size |
Returns
| Type | Description |
|---|---|
| Windows.Foundation.Size | Returns Size |
OnApplyTemplate()
Initializes all the child elements of the SfTreeNavigator control.
Declaration
protected override void OnApplyTemplate()
OnItemsChanged(Object)
Occurs when the items SfTreeNavigatorItem has changed.
Declaration
protected override void OnItemsChanged(object e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | e | Parameter for the Object |
OnSelectionChanged(DependencyPropertyChangedEventArgs)
Occurs when the selected item has changed.
Declaration
protected virtual void OnSelectionChanged(DependencyPropertyChangedEventArgs args)
Parameters
| Type | Name | Description |
|---|---|---|
| Windows.UI.Xaml.DependencyPropertyChangedEventArgs | args | Parameter for the Dependency Property Changed Event. |
Select(Object)
Sets the item as the selected item.
Declaration
public void Select(object item)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | item | Parameter for the object |
Events
SelectionChanged
Occurs when the SfTreeNavigatorItem has changed.
Declaration
public event SelectionChangedEventHandler SelectionChanged
Event Type
| Type |
|---|
| Windows.UI.Xaml.Controls.SelectionChangedEventHandler |