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

BackstageItem.Content Property

Gets or sets an item’s caption.

Namespace: DevExpress.Xpf.Ribbon

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

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

Declaration

public object Content { get; set; }

Property Value

Type Description
Object

An Object that specifies an item’s caption.

Remarks

The Content property allows you to set an item’s caption. Generally, you will need to assign a string to the Content property. You can also set any object to Content. If you want to apply a template for an object assigned to Content, use the BackstageItem.ContentTemplate property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Content 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