IButtonProperties.UseCaption Property
Gets or sets whether the current IButton object’s IButtonProperties.Caption is visible.
Namespace: DevExpress.XtraEditors.ButtonPanel
Assembly: DevExpress.Utils.v24.1.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
Declaration
Property Value
Type | Description |
---|---|
Boolean | true if the current IButton object’s IButtonProperties.Caption is visible; otherwise, false. |
Remarks
Custom buttons can have text, specified via the IButtonProperties.Caption property, and a glyph (see the IButtonProperties.Image and IButtonProperties.ImageIndex properties). You can set whether only button text, or a glyph, or both of them should be displayed via the UseCaption and IButtonProperties.UseImage properties. If both text and glyph are shown, use the IButtonProperties.ImageLocation property to set their relative positions. See the Header Buttons and WindowsUI Custom Buttons topic to learn more.