Back to Devexpress

SvgImageItem.Enabled Property

windowsforms-devexpress-dot-xtraeditors-dot-svgimageitem-b5388ff1.md

latest2.4 KB
Original Source

SvgImageItem.Enabled Property

Gets or sets whether the item is enabled.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

csharp
public bool Enabled { get; set; }
vb
Public Property Enabled As Boolean

Property Value

TypeDescription
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

Disabled

ActualEnabled

SvgImageItem Class

SvgImageItem Members

DevExpress.XtraEditors Namespace