Back to Devexpress

ToolbarContentItemBase.IconColorizationEnabled Property

maui-devexpress-dot-maui-dot-controls-dot-toolbarcontentitembase-6eddc810.md

latest1.2 KB
Original Source

ToolbarContentItemBase.IconColorizationEnabled Property

Gets or sets whether the toolbar item’s icon should change its colors in pressed and disabled states. This is a bindable property.

Namespace : DevExpress.Maui.Controls

Assembly : DevExpress.Maui.Controls.dll

NuGet Package : DevExpress.Maui.Controls

Declaration

csharp
public bool IconColorizationEnabled { get; set; }

Property Value

TypeDescription
Boolean

true to change icon colors in pressed and disabled states; otherwise, false.

|

Remarks

Example

If your toolbar button’s icon is a contact avatar, its colors will be changed when you press or disable the button. Set this property to false to ignore changes of the toolbar button’s state and keep the original colors of the icon.

See Also

ToolbarContentItemBase Class

ToolbarContentItemBase Members

DevExpress.Maui.Controls Namespace