menu

WinForms

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

    Show / Hide Table of Contents

    Class BackStageButton

    Inheritance
    System.Object
    ButtonAdv
    BackStageButton
    Implements
    IThemeProvider
    IVisualStyle
    ISupportOffice2007Theme
    ISupportThemeChanged
    System.Windows.Forms.IMessageFilter
    Inherited Members
    ButtonAdv.isLastLeftButton
    ButtonAdv.isFirstRightButton
    ButtonAdv.GetActiveThemeName()
    ButtonAdv.GetControlName()
    ButtonAdv.PaintButton(Graphics, ButtonAdv, Point)
    ButtonAdv.ShouldSerializeMetroColor()
    ButtonAdv.ResetMetroColor()
    ButtonAdv.Dispose(Boolean)
    ButtonAdv.ApplyScaleToControl(Single)
    ButtonAdv.OnFontChanged(EventArgs)
    ButtonAdv.ResetIsDropDownButton()
    ButtonAdv.ShouldSerializaIsDropDownButton()
    ButtonAdv.ShouldSerializeIsDropDownButton()
    ButtonAdv.SetIgnoreMouse(Boolean)
    ButtonAdv.SuspendMouseState()
    ButtonAdv.ResumeMouseState()
    ButtonAdv.SetIsLastLeftButton(Boolean)
    ButtonAdv.SetIsFirstRightButton(Boolean)
    ButtonAdv.GetIsLastLeftButton()
    ButtonAdv.GetIsFirstRightButton()
    ButtonAdv.OnSystemColorsChanged(EventArgs)
    ButtonAdv.OnButtonChanged(EventArgs)
    ButtonAdv.OnClick(EventArgs)
    ButtonAdv.OnMouseEnter(EventArgs)
    ButtonAdv.OnMouseLeave(EventArgs)
    ButtonAdv.OnLostFocus(EventArgs)
    ButtonAdv.OnMouseDown(MouseEventArgs)
    ButtonAdv.OnMouseMove(MouseEventArgs)
    ButtonAdv.OnMouseUp(MouseEventArgs)
    ButtonAdv.OnHandleCreated(EventArgs)
    ButtonAdv.OnHandleDestroyed(EventArgs)
    ButtonAdv.OnKeyDown(KeyEventArgs)
    ButtonAdv.OnKeyUp(KeyEventArgs)
    ButtonAdv.ResetUseVisualStyle()
    ButtonAdv.ShouldSerializeUseVisualStyle()
    ButtonAdv.ResetComboEditBackColor()
    ButtonAdv.ShouldSerializeComboEditBackColor()
    ButtonAdv.ResetForeColor()
    ButtonAdv.ShouldSerializeForeColor()
    ButtonAdv.ResetBackColor()
    ButtonAdv.ShouldSerializeBackColor()
    ButtonAdv.RaisePaintEvent(PaintEventArgs)
    ButtonAdv.ISupportOffice2007Theme.EnableOffice2007Style()
    ButtonAdv.ISupportThemeChanged.ThemeChanged(Object, EventArgs)
    ButtonAdv.CanApplyTheme
    ButtonAdv.ThemeName
    ButtonAdv.CanOverrideStyle
    ButtonAdv.IThemeProvider.BaseThemeName
    ButtonAdv.IsVisualStyleEnabled
    ButtonAdv.ThemeStyle
    ButtonAdv.IThemeProvider.ControlName
    ButtonAdv.IVisualStyle.VisualTheme
    ButtonAdv.Office2007ColorScheme
    ButtonAdv.Office2010ColorScheme
    ButtonAdv.BorderStyleAdv
    ButtonAdv.KeepFocusRectangle
    ButtonAdv.Appearance
    ButtonAdv.MetroColor
    ButtonAdv.Font
    ButtonAdv.ForeColor
    ButtonAdv.BackColor
    ButtonAdv.ImageListAdv
    ButtonAdv.CustomManagedColor
    ButtonAdv.OverrideFormManagedColor
    ButtonAdv.UseVisualStyle
    ButtonAdv.ButtonType
    ButtonAdv.State
    ButtonAdv.PushButton
    ButtonAdv.ResetStateOnLostFocus
    ButtonAdv.IsMouseDown
    ButtonAdv.IsComboButton
    ButtonAdv.ComboEditBackColor
    ButtonAdv.EnableTouchMode
    ButtonAdv.IsBackStageButton
    ButtonAdv.IsDropDownButton
    ButtonAdv.BeforeTouchSize
    ButtonAdv.ISupportOffice2007Theme.Office2007ColorTheme
    ButtonAdv.ThemeNameChanged
    ButtonAdv.ButtonChanged
    Namespace: Syncfusion.Windows.Forms
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class BackStageButton : ButtonAdv, IThemeProvider, IVisualStyle, ISupportOffice2007Theme, ISupportThemeChanged, IMessageFilter, IBackStageItem

    Constructors

    BackStageButton()

    Declaration
    public BackStageButton()

    Properties

    Accelerator

    Declaration
    public string Accelerator { get; set; }
    Property Value
    Type Description
    System.String

    BackStage2013Renderer

    Declaration
    public BackStage2013Renderer BackStage2013Renderer { get; }
    Property Value
    Type Description
    BackStage2013Renderer

    BackStage2016Renderer

    Declaration
    public BackStage2016Renderer BackStage2016Renderer { get; }
    Property Value
    Type Description
    BackStage2016Renderer

    BackStageThemeRenderer

    Declaration
    public BackStageThemeRenderer BackStageThemeRenderer { get; }
    Property Value
    Type Description
    BackStageThemeRenderer

    BackStageTouchStyleRenderer

    Sets the TouchStyle renderer for BackStageView.

    Declaration
    public BackStageTouchStyleRenderer BackStageTouchStyleRenderer { get; }
    Property Value
    Type Description
    BackStageTouchStyleRenderer

    ItemHeight

    Gets or Sets the height for the BackStage button, when UseDefaultBackStageItemHeight property is disabled. This property applicable for Ribbon Style Office2013 and TouchStyle

    Declaration
    public int ItemHeight { get; set; }
    Property Value
    Type Description
    System.Int32

    Placement

    Gets or sets the placement of the BackStageButton inside the BackStage.

    Declaration
    public BackStageItemPlacement Placement { get; set; }
    Property Value
    Type Description
    BackStageItemPlacement

    When Placement is set to Bottom, then it will be placed at bottom of the BackStage. Otherwise BackStageButton will placed at top of the BackStage. The default value is Top.

    Renderer

    Declaration
    public BackStageRenderer Renderer { get; }
    Property Value
    Type Description
    BackStageRenderer

    ShowImage

    Gets or sets a value indicating whether the Backstage button image should be shown in backstage.

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

    Text

    Declaration
    public override string Text { get; set; }
    Property Value
    Type Description
    System.String
    Overrides
    ButtonAdv.Text

    Methods

    OnLocationChanged(EventArgs)

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

    OnPaint(PaintEventArgs)

    Declaration
    protected override void OnPaint(PaintEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.PaintEventArgs e
    Overrides
    ButtonAdv.OnPaint(PaintEventArgs)

    OnSizeChanged(EventArgs)

    Declaration
    protected override void OnSizeChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e
    Overrides
    ButtonAdv.OnSizeChanged(EventArgs)

    ResetItemHeight()

    To Reset ItemHeight

    Declaration
    public void ResetItemHeight()

    ShouldSerializeItemHeight()

    To Serialize ItemHeight

    Declaration
    protected bool ShouldSerializeItemHeight()
    Returns
    Type Description
    System.Boolean

    Implements

    IThemeProvider
    IVisualStyle
    ISupportOffice2007Theme
    ISupportThemeChanged
    System.Windows.Forms.IMessageFilter
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved