Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

C#
public bool IconColorizationEnabled { get; set; }

#Property Value

Type Description
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