IButtonProperties.UseImage Property
Gets or sets whether the current IButton object’s icon is visible.
Namespace: DevExpress.XtraEditors.ButtonPanel
Assembly: DevExpress.Utils.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
Boolean | true if the current IButton object’s icon 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 UseImage and IButtonProperties.UseCaption 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.