BarItemCustomDrawEventArgs.State Property
Gets the current bar item link state (normal, selected, pressed, checked, disabled etc.).
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Property Value
Type | Description |
---|---|
DevExpress.XtraBars.ViewInfo.BarLinkState | A BarLinkState enumerator value that is the current state for this bar item link. |
Remarks
See the BarManager.CustomDrawItem event to learn more.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the State property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.