Skip to main content

BackstageViewControl.Office2013StyleOptions Property

Provides access to the settings applied in Office 2013 style, such as the BackstageViewControl content offset and animation on showing/hiding the control.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DXCategory("Appearance")]
public BackstageViewOffice2013StyleOptions Office2013StyleOptions { get; set; }

Property Value

Type Description
DevExpress.XtraBars.Ribbon.BackstageViewOffice2013StyleOptions

A BackstageViewOffice2013StyleOptions object that contains settings applied in Office 2013 style.

Remarks

The Office2013StyleOptions property stores a BackstageViewOffice2013StyleOptions object, which specifies 3 properties:

  • AllowShowHideAnimation - gets or sets whether the BackstageViewControl is shown and hidden with a smooth animation effect. By default, the animation is enabled. If the WindowsFormsSettings.AnimationMode global setting is set to DisableAll, the animation is forcibly disabled.
  • LeftPaneContentVerticalOffset - gets or sets the left pane’s offset: the empty space between the BackstageViewControl‘s top edge and its first item (a BackstageViewButtonItem or a BackstageViewTabItem). You can use this setting to lower the BackstageView items.
  • RightPaneContentVerticalOffset - gets or sets the right pane’s offset: the empty space between the BackstageViewControl‘s top edge and a BackstageViewTabItem‘s content, visible when this tab item is selected. You can use this setting to increase or decrease the title bar height.

The figure below illustrates the example.

Ribbon - Office2013 Backstageview Pane Offsets

The Office2013StyleOptions property takes effect only if the parent RibbonControl is in the Office 2013 style. To set the ribbon style, use the RibbonControl.RibbonStyle property.

See Also