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
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.
Related GitHub Examples
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.