BarManagerProperties.AllowLinkLighting Property

Gets or sets whether images are highlighted when links are hot-tracked.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll


public virtual bool AllowLinkLighting { get; set; }
Public Overridable Property AllowLinkLighting As Boolean

Property Value

Type Default Description


true if images are highlighted when links are hot-tracked; otherwise false.


If the AllowLinkLighting property's value is true, then the intensity of the link image's color is decreased when in the normal state. When links are highlighted, color intensity is increased to the standard value. This gives the effect of link highlighting. See the image below for an example.

LinkImages - HotTrackAllowLightTrue

If the AllowLinkLighting property is set to false, original images are displayed when links are in normal and hot-tracked states. The image below displays the same bar with a disabled link.

LinkImages - HotTrackAllowLightFalse

Note: if you use large button items, you can specify custom images for an item's hot-tracked state. Use the BarLargeButtonItem.LargeImageIndexHot or BarLargeButtonItem.LargeGlyphHot property for this purpose.

See Also