Spread Windows Forms 6.0 Product Documentation
DrawFocusRectangle Property
See Also  Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > ElementStyle Class : DrawFocusRectangle Property


Glossary Item Box

Gets or sets the focus rectangle drawing style for the object.

Syntax

Visual Basic (Declaration) 
Public Overridable Property DrawFocusRectangle As DrawFocusRectangle
Visual Basic (Usage)Copy Code
Dim instance As ElementStyle
Dim value As DrawFocusRectangle
 
instance.DrawFocusRectangle = value
 
value = instance.DrawFocusRectangle
C# 
public virtual DrawFocusRectangle DrawFocusRectangle {get; set;}

Property Value

DrawFocusRectangle setting that determines how the focus rectangle is displayed.

Remarks

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.

DrawFocusRectangle

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

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.