TdxBarImageOptions.MakeDisabledImagesFaded Property
Specifies whether or not disabled images are painted grayed out.
Declaration
property MakeDisabledImagesFaded: Boolean read; write; default False;
Property Value
Type | Default |
---|---|
Boolean | False |
Remarks
By default, images within disabled links are painted grayscale when the XP or Office11 paint style is used. For other paint styles, such images are painted grayed out. The image below shows the same toolbar painted in XP and Flat style to demonstrate the difference between them:
You can prevent disabled link images from being painted grayed out independent of the paint style used. Set the MakeDisabledImagesFaded property to True for this purpose. As a result, images within disabled links will be painted grayscale.
The painting style used for toolbars is specified by the bar manager’s Style property.
The default value of the MakeDisabledImagesFaded property is False.
See Also