Class SfTreeNavigatorItem
Represents a selectable item inside Syncfusion.UI.Xaml.Controls.Navigation.SfTreeNavigator.
Implements
Namespace: Syncfusion.Windows.Controls.Navigation
Assembly: Syncfusion.SfTreeNavigator.WPF.dll
Syntax
public class SfTreeNavigatorItem : HeaderedItemsControl, IDisposable
Remarks
Tree Navigator Item is a Windows.UI.Xaml.Controls.ContentControl..
Constructors
SfTreeNavigatorItem()
Initializes a new instance of the SfTreeNavigatorItem class.
Declaration
public SfTreeNavigatorItem()
See Also
Fields
AccentBrushProperty
Using a DependencyProperty as the backing store for AccentBrush. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty AccentBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IsSelectedProperty
Using a DependencyProperty as the backing store for IsSelected. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty IsSelectedProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
AccentBrush
Gets or sets a value defining the AccentBrush of the item Syncfusion.UI.Xaml.Controls.Navigation.SfTreeNavigatorItem
Declaration
public SolidColorBrush AccentBrush { get; set; }
Property Value
Type |
---|
System.Windows.Media.SolidColorBrush |
HasItems
Gets a value indicating whether Syncfusion.UI.Xaml.Controls.Navigation.SfTreeNavigatorItem has items.
Declaration
public bool HasItems { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsSelected
Gets or sets a value indicating whether Syncfusion.UI.Xaml.Controls.Navigation.SfTreeNavigatorItem is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Methods
Dispose()
Removes all host instances.
Declaration
public void Dispose()
Dispose(Boolean)
method to dispose.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Parameter used to check dispose |
OnApplyTemplate()
Method to Apply Template for the tree Navigator.
Declaration
public override void OnApplyTemplate()
OnGotFocus(RoutedEventArgs)
Invoked when the focus is obtained.
Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.RoutedEventArgs | e | Parameter for the Event |
OnItemsChanged(NotifyCollectionChangedEventArgs)
method for the Items Changed.
Declaration
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Specialized.NotifyCollectionChangedEventArgs | e | Parameter for the Object. |
OnKeyDown(KeyEventArgs)
Invoked when a key is pressed.
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.KeyEventArgs | e | Parameter for the Event |
OnLostFocus(RoutedEventArgs)
Invoked when the focus is lost.
Declaration
protected override void OnLostFocus(RoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.RoutedEventArgs | e | Parameter for the Event |
OnMouseLeftButtonUp(MouseButtonEventArgs)
Invoked when the pointer is released
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e | Parameter for the Event |