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


Glossary Item Box

Gets or sets the focus rectangle drawing style for the edit control.

Syntax

Visual Basic (Declaration) 
Public Overrides Property DrawFocusRectangle As DrawFocusRectangle
Visual Basic (Usage)Copy Code
Dim instance As SuperEditBase
Dim value As DrawFocusRectangle
 
instance.DrawFocusRectangle = value
 
value = instance.DrawFocusRectangle
C# 
public override 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 edit control by setting this property. The following figure shows the focus rectangle drawn around the picture only.

This property is available at run time only.

Specify whether the control can receive the focus by setting the CanFocus property or the Enabled property. If the CanFocus property is set to true, you can check whether the control has the focus, or move the focus to the control, by calling the Focus method or check whether the control has the focus using the Focused property.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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