menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class NavigationToolbar - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class NavigationToolbar

    Represents the NavigationToolbar UI element.

    Inheritance
    System.Object
    NavigationToolbar
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    public class NavigationToolbar : Selector

    Constructors

    NavigationToolbar()

    Initializes a new instance of the NavigationToolbar class.

    Declaration
    public NavigationToolbar()

    Fields

    ItemDefaultWidthProperty

    Identifies ItemDefaultWidth dependency property.

    Declaration
    public static readonly DependencyProperty ItemDefaultWidthProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ItemMarginProperty

    Identifies ItemMargin dependency property.

    Declaration
    public static readonly DependencyProperty ItemMarginProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    MenuDefaultWidthProperty

    Identifies MenuDefaultWidth dependency property.

    Declaration
    public static readonly DependencyProperty MenuDefaultWidthProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    Properties

    ItemDefaultWidth

    Gets or sets default width of the contained items.

    Declaration
    public double ItemDefaultWidth { get; set; }
    Property Value
    Type Description
    System.Double

    Type: System.Double

    See Also
    System.Double

    ItemMargin

    Gets or sets the item margin.

    Declaration
    public Thickness ItemMargin { get; set; }
    Property Value
    Type Description
    System.Windows.Thickness

    The item margin.

    LogicalParent

    Gets the logical parent as GroupBar.

    Declaration
    public GroupBar LogicalParent { get; }
    Property Value
    Type Description
    GroupBar

    Type: GroupBar

    See Also
    GroupBar

    MenuDefaultWidth

    Gets or sets default width of the contained menu.

    Declaration
    public double MenuDefaultWidth { get; set; }
    Property Value
    Type Description
    System.Double

    Type: System.Double

    See Also
    System.Double

    SelectedItem

    Gets inherited SelectedItem property as NavigationToolbarItem.

    Declaration
    public NavigationToolbarItem SelectedItem { get; }
    Property Value
    Type Description
    NavigationToolbarItem

    Type: NavigationToolbarItem

    See Also
    NavigationToolbarItem

    Methods

    OnApplyTemplate()

    Builds the current template's visual tree if necessary.

    Declaration
    public override void OnApplyTemplate()

    OnInitialized(EventArgs)

    Raises the OnInitialized(EventArgs) event. This method is invoked whenever Initialized property is set to true internally.

    Declaration
    protected override void OnInitialized(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    The System.Windows.RoutedEventArgs that contains the event data.

    OnItemsChanged(NotifyCollectionChangedEventArgs)

    Updates the current selection when an item in the Selector has changed.

    Declaration
    protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
    Parameters
    Type Name Description
    System.Collections.Specialized.NotifyCollectionChangedEventArgs e

    The System.Collections.Specialized.NotifyCollectionChangedEventArgs that contains the event data.

    OnLostFocus(RoutedEventArgs)

    Raises the System.Windows.UIElement.LostFocus routed event by using the event data that is provided.

    Declaration
    protected override void OnLostFocus(RoutedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.RoutedEventArgs e

    A System.Windows.RoutedEventArgs that contains the event data. This event data must contain the identifier for the System.Windows.UIElement.LostFocus event.

    OnMouseDown(MouseButtonEventArgs)

    Invoked when an unhandled attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

    Declaration
    protected override void OnMouseDown(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseButtonEventArgs e

    The System.Windows.Input.MouseButtonEventArgs that contains the event data. This event data reports details about the mouse button that was pressed and the handled state.

    OnSelectionChanged(SelectionChangedEventArgs)

    Called when the selection changes.

    Declaration
    protected override void OnSelectionChanged(SelectionChangedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Controls.SelectionChangedEventArgs e

    The System.Windows.Controls.SelectionChangedEventArgs that contains the event data.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved