Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

WindowsFormsSettings.FocusRectStyle Property

Gets or sets the style of dashed lines to paint focus rectangles. This is a static property.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#Declaration

public static DXDashStyle FocusRectStyle { get; set; }

#Property Value

Type Description
DevExpress.Utils.Paint.DXDashStyle

A DXDashStyle enumeration value that specifies the style of dashed lines to paint focus rectangles.

#Remarks

The static FocusRectStyle property specifies the style of dashed lines to paint focus rectangles. The DXDashStyle enumeration provides the following values:

Value Description
Default and Dot Specifies a focus rectangle consisting of dots.
DashDot Specifies a focus rectangle consisting of a repeating dash-dot pattern.
DashDotDot Specifies a focus rectangle consisting of a repeating dash-dot-dot pattern.
Dash Specifies a focus rectangle consisting of dashes.
Solid Specifies a solid focus rectangle.
None No focus rectangle is painted.
See Also