Skip to main content
All docs
V24.2

SvgImageItem.Enabled Property

Gets or sets whether the item is enabled.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.2.dll

Declaration

public bool Enabled { get; set; }

Property Value

Type Description
Boolean

true if the item is enabled; otherwise, false.

Remarks

An item is disabled in the following cases:

  • Its Enabled property is set to false.
  • The Enabled property of its parent (SvgImageItem.Parent) is set to false.

Use the SvgImageItem.ActualEnabled property to determine the item’s enabled state.

A user cannot select a disabled item. Nor can you do this in code. A disabled item does not support hover effects, and it does not fire the SvgImageBox.ItemClick, SvgImageBox.ItemEnter and SvgImageBox.ItemLeave events.

To customize the appearance settings of disabled items, use the SvgImageItemAppearanceCollection.Disabled property (accessible using the SvgImageBox.ItemAppearance and SvgImageItem.Appearance properties).

See Also