Skip to main content
A newer version of this page is available. .

OptionsView.HighlightFocusedItem Property

Gets or sets whether focused layout items are highlighted according to the current skin.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v18.2.dll

Declaration

[DefaultValue(false)]
public bool HighlightFocusedItem { get; set; }

Property Value

Type Default Description
Boolean **false**

true if focused layout items are highlighted; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to HighlightFocusedItem
DataLayoutControl
.OptionsView.HighlightFocusedItem
LayoutControl
.OptionsView.HighlightFocusedItem

Remarks

This option is in effect when a skinning paint scheme is applied and the OptionsView.AllowItemSkinning property is set to true. If the HighlightFocusedItem option is set to true, the layout item that contains the focused control is specifically painted according to the current skin.

The image used to render focused layout items is retrieved from a skin, so you can use the Skin Editor utility to customize the image as required.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the HighlightFocusedItem 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.

See Also