Skip to main content
All docs
V26.1
  • 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

    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