Skip to main content
All docs
V24.2

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

SvgImageItem.Enabled Property

Gets or sets whether the item is enabled.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#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