WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SfTreeNavigatorItem - WPF API Reference | Syncfusion Syncfusion.UI.Xaml.Controls.Navigation.SfTreeNavigator. ">

    Show / Hide Table of Contents

    Class SfTreeNavigatorItem

    Represents a selectable item inside Syncfusion.UI.Xaml.Controls.Navigation.SfTreeNavigator.

    Inheritance
    System.Object
    SfTreeNavigatorItem
    TreeNavigatorHeaderItem
    Implements
    System.IDisposable
    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
    Syncfusion.UI.Xaml.Controls.Navigation.SfTreeNavigatorItem
    Syncfusion.UI.Xaml.Controls.Navigation.SfTreeNavigator
    Syncfusion.UI.Xaml.Controls

    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 Description
    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 Description
    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 Description
    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

    true if this instance is selected; otherwise, false.

    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

    true if this instance is selected; otherwise, false.

    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

    Implements

    System.IDisposable

    See Also

    Syncfusion.UI.Xaml.Controls.Navigation.SfTreeNavigator
    Syncfusion.UI.Xaml.Controls
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved