menu

WPF

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

    Show / Hide Table of Contents

    Class BackstageTabItem

    Represents BackStageTabItem class.

    Inheritance
    System.Object
    BackstageTabItem
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    public class BackstageTabItem : ContentControl, IBackStageItem

    Constructors

    BackstageTabItem()

    Default constructor

    Declaration
    public BackstageTabItem()

    Fields

    HeaderProperty

    Gets or Sets Tab Item Text field. It is a dependency property.

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

    IsSelectedProperty

    Dependency property for isSelected

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

    PositionProperty

    Identifies the Position dependency property.

    Declaration
    public static readonly DependencyProperty PositionProperty
    Field Value
    Type
    System.Windows.DependencyProperty
    Remarks

    The identifier for the Position dependency property.

    Properties

    Header

    Gets or sets tab item header

    Declaration
    public object Header { get; set; }
    Property Value
    Type
    System.Object

    IsSelected

    Gets or sets whether the tab is selected

    Declaration
    public bool IsSelected { get; set; }
    Property Value
    Type
    System.Boolean

    Position

    Gets or sets the placement of the BackstageTabItem inside the Backstage.

    Declaration
    public VerticalPosition Position { get; set; }
    Property Value
    Type Description
    VerticalPosition

    When Position is set to Bottom, then it will be placed at bottom of the Backstage. Otherwise BackstageTabItem will placed at top of the Backstage. The default value is Top.

    Methods

    OnApplyTemplate()

    When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.

    Declaration
    public override void OnApplyTemplate()

    OnContentChanged(Object, Object)

    Called when the System.Windows.Controls.ContentControl.Content property changes.

    Declaration
    protected override void OnContentChanged(object oldContent, object newContent)
    Parameters
    Type Name Description
    System.Object oldContent

    The old value of the System.Windows.Controls.ContentControl.Content property.

    System.Object newContent

    The new value of the System.Windows.Controls.ContentControl.Content property.

    OnCreateAutomationPeer()

    Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation infrastructure

    Declaration
    protected override AutomationPeer OnCreateAutomationPeer()
    Returns
    Type Description
    System.Windows.Automation.Peers.AutomationPeer

    The type-specific AutomationPeer implementation.

    OnGotKeyboardFocus(KeyboardFocusChangedEventArgs)

    Invoked when an unhandled Keyboard.GotKeyboardFocus 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 OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.KeyboardFocusChangedEventArgs e

    the event data.

    OnMouseLeftButtonDown(MouseButtonEventArgs)

    Invoked when an unhandled System.Windows.UIElement.MouseLeftButtonDown routed event is raised on this element. Implement this method to add class handling for this event.

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

    The System.Windows.Input.MouseButtonEventArgs that contains the event data. The event data reports that the left mouse button was pressed.

    OnSelected(RoutedEventArgs)

    Handles selected event

    Declaration
    protected virtual void OnSelected(RoutedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.RoutedEventArgs e

    The event data.

    OnStylusSystemGesture(StylusSystemGestureEventArgs)

    Invoked when an unhandled Stylus. StylusSystemGesture 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 OnStylusSystemGesture(StylusSystemGestureEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.StylusSystemGestureEventArgs e

    The event data

    OnTouchDown(TouchEventArgs)

    Provides class handling for the TouchDown routed event that occurs when a touch presses inside this element.

    Declaration
    protected override void OnTouchDown(TouchEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.TouchEventArgs e

    The event data

    OnUnselected(RoutedEventArgs)

    Handles unselected event

    Declaration
    protected virtual void OnUnselected(RoutedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.RoutedEventArgs e

    The event data.

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