Spread Windows Forms 12.0 Product Documentation
DrawFocusRectangle Property (ElementStyle)

FarPoint.Win Assembly > FarPoint.Win Namespace > ElementStyle Class : DrawFocusRectangle Property
Gets or sets the focus rectangle drawing style for the object.
Public Overridable Property DrawFocusRectangle As DrawFocusRectangle
Dim instance As ElementStyle
Dim value As DrawFocusRectangle
instance.DrawFocusRectangle = value
value = instance.DrawFocusRectangle
public virtual DrawFocusRectangle DrawFocusRectangle {get; set;}

Property Value

DrawFocusRectangle setting that determines how the focus rectangle is displayed.

You can specify whether and how the focus rectangle is drawn for the object by setting this property. The following figure shows the focus rectangle drawn around the picture only.

Specify whether the object can receive the focus by setting the CanFocus property or the Enabled property.

See Also


ElementStyle Class
ElementStyle Members
DrawFocusRectangle Enumeration
CanFocus Property
Enabled Property