Back to Devexpress

BarManagerProperties.AllowLinkLighting Property

windowsforms-devexpress-dot-xtrabars-dot-barmanagerproperties-9361a7d6.md

latest2.6 KB
Original Source

BarManagerProperties.AllowLinkLighting Property

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

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
Booleantrue

true if images are highlighted when links are hot-tracked; otherwise false. If the Remote Connection Optimization mode is on, the default value is false.

|

Remarks

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.

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.

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

LargeImageIndexHot

LargeGlyphHot

BarManagerProperties Class

BarManagerProperties Members

DevExpress.XtraBars Namespace