Skip to main content
A newer version of this page is available. .

BackstageItemBase.ContentStyle Property

Gets or sets a style applied to the item’s contents. This is a dependency property.

Namespace: DevExpress.Xpf.Ribbon

Assembly: DevExpress.Xpf.Ribbon.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Ribbon, DevExpress.Wpf.Navigation

Declaration

[Browsable(false)]
public Style ContentStyle { get; set; }

Property Value

Type Description
Style

A Style object applied to the item’s contents.

Remarks

Other properties that allow you to customize an item’s text styles: BackstageItemBase.HoverTextStyle, BackstageItemBase.NormalTextStyle, BackstageTabItem.SelectedTextStyle.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ContentStyle property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also