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

BaseListBoxControl.ShowFocusRect Property

Gets or sets whether the dotted focus rectangle is displayed around the focused item.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[DefaultValue(true)]
[DXCategory("Appearance")]
public bool ShowFocusRect { get; set; }

Property Value

Type Default Description
Boolean **true**

true, if the dotted focus rectangle is displayed around the focused item; otherwise, false.

Remarks

A focused CheckedListBoxItem can be displayed with or without a dotted focus rectangle. By default, the dotted focus rectangle is displayed around the item when it is focused. Set the ShowFocusRect property to false to display the focused item without the dotted focus rectangle. In the following images, the first item is focused and displayed with and without the dotted focus rectangle respectively.

CheckedListBoxControl_ShowFocusRectangleCheckedListBoxControl_ShowFocusRectangle_False

See Also