TcxCustomDropDownEditProperties.ButtonGlyph Property
Specifies the custom glyph for the drop-down button.
#Declaration
property ButtonGlyph: TdxSmartGlyph read; write;
#Property Value
Type | Description |
---|---|
Tdx |
The Smart Image container for the custom drop-down button glyph. |
#Remarks
Users can click the drop-down button to invoke the drop-down window. You can use the ButtonGlyph
property to set a custom image instead of the default drop-down button glyph.
#Code Example: Display a Custom Drop-Down Glyph
The following code example displays a custom image instead of the default drop-down button glyph in a calculator editor:
cxCalcEdit1.Properties.ButtonGlyph.LoadFromFile('MyGlyph.png');
#Limitations
You can use the ButtonGlyph
property to display a custom glyph on the ellipsis button of TcxMRUEdit and TcxColorComboBox editors if it is visible. If the ellipsis button is hidden, the custom glyph is displayed on the drop-down button. MRU editors and color combo boxes display the ellipsis button if their Properties.ShowEllipsis and Properties.AllowSelectColor properties are set to True
, respectively.