WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BackStageButton

    Show / Hide Table of Contents

    Class BackStageButton

    Represent BackStageButton Class.

    Inheritance
    System.Object
    BackStageButton
    Implements
    System.IDisposable
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    public class BackStageButton : ButtonBase, IDisposable

    Constructors

    BackStageButton()

    Initializes a new instance of the BackStageButton class.

    Declaration
    public BackStageButton()

    Fields

    HeaderProperty

    Gets or Sets the Content of BackStage Button. It is a dependency property.

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

    IsOpenProperty

    Descriping Whether BackStage opened or not.

    Declaration
    public static readonly DependencyProperty IsOpenProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Properties

    Header

    Gets or sets the header.

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

    The header.

    IsOpen

    Gets or sets a value indicating whether this instance is open.

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

    true if this instance is open; otherwise, false.

    parentRibbon

    Gets or sets the parent ribbon.

    Declaration
    public Ribbon parentRibbon { get; set; }
    Property Value
    Type Description
    Ribbon

    The parent ribbon.

    Methods

    Dispose()

    Declaration
    public void Dispose()

    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()

    OnClick()

    Raises the System.Windows.Controls.Primitives.ButtonBase.Click routed event.

    Declaration
    protected override void OnClick()

    OnCreateAutomationPeer()

    Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

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

    The type-specific AutomationPeer implementation.

    OnIsOpenChanged(DependencyObject, DependencyPropertyChangedEventArgs)

    Invoked when IsOpen is changed.

    Declaration
    protected static void OnIsOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.DependencyObject d

    The dependency object

    System.Windows.DependencyPropertyChangedEventArgs e

    Implements

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