Class SfTreeNavigatorItem
Represents a selectable item inside SfTreeNavigator.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Controls.Navigation
Assembly: Syncfusion.SfTreeNavigator.UWP.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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
AccentBrush
Gets or sets a value defining the AccentBrush of the item SfTreeNavigatorItem
Declaration
public SolidColorBrush AccentBrush { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.SolidColorBrush |
HasItems
Gets a value indicating whether SfTreeNavigatorItem has items.
Declaration
public bool HasItems { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsSelected
Gets or sets a value indicating whether SfTreeNavigatorItem is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Methods
add_ItemClicked(SfTreeNavigatorItem.ItemClickEventHandler)
Declaration
public void add_ItemClicked(SfTreeNavigatorItem.ItemClickEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfTreeNavigatorItem.ItemClickEventHandler | value |
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 for the Apply Template.
Declaration
protected override void OnApplyTemplate()
OnGotFocus(RoutedEventArgs)
Invoked when the focus is obtained.
Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.RoutedEventArgs | e | Parameter for the Event |
OnItemsChanged(Object)
method for the Items Changed.
Declaration
protected override void OnItemsChanged(object e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | e | Parameter for the Object. |
OnKeyDown(KeyRoutedEventArgs)
Invoked when a key is pressed.
Declaration
protected override void OnKeyDown(KeyRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.KeyRoutedEventArgs | e | Parameter for the Event |
OnLostFocus(RoutedEventArgs)
Invoked when the focus is lost.
Declaration
protected override void OnLostFocus(RoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.RoutedEventArgs | e | Parameter for the Event |
OnPointerCaptureLost(PointerRoutedEventArgs)
Invoked when the focus is lost.
Declaration
protected override void OnPointerCaptureLost(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | Parameter for the Event |
OnPointerEntered(PointerRoutedEventArgs)
Invoked when the pointer is entered.
Declaration
protected override void OnPointerEntered(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | Parameter for the Event |
OnPointerExited(PointerRoutedEventArgs)
Invoked when the focus is lost.
Declaration
protected override void OnPointerExited(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | Parameter for the Event |
OnPointerPressed(PointerRoutedEventArgs)
Invoked when the pointer is pressed.
Declaration
protected override void OnPointerPressed(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | Parameter for the Event |
OnPointerReleased(PointerRoutedEventArgs)
Invoked when the pointer is released
Declaration
protected override void OnPointerReleased(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | Parameter for the Event |
OnRightTapped(RightTappedRoutedEventArgs)
Invoked when an item SfTreeNavigatorItem is clicked.
Declaration
protected override void OnRightTapped(RightTappedRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.RightTappedRoutedEventArgs | e | Parameter for the Event |
OnTapped(TappedRoutedEventArgs)
Occurs when the item SfTreeNavigatorItem is clicked.
Declaration
protected override void OnTapped(TappedRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.TappedRoutedEventArgs | e | Parameter for the Event |
remove_ItemClicked(SfTreeNavigatorItem.ItemClickEventHandler)
Declaration
public void remove_ItemClicked(SfTreeNavigatorItem.ItemClickEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfTreeNavigatorItem.ItemClickEventHandler | value |
Events
ItemClicked
Occurs when the SfTreeNavigatorItem is clicked
Declaration
public event SfTreeNavigatorItem.ItemClickEventHandler ItemClicked
Event Type
Type |
---|
SfTreeNavigatorItem.ItemClickEventHandler |