Gets or sets whether the OwningControl receives focus after a toolbar action.
Syntax
Visual Basic (Declaration) | |
---|
Public Overridable Property OwnsFocus As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As DrawingToolbar
Dim value As Boolean
instance.OwnsFocus = value
value = instance.OwnsFocus |
C# | |
---|
public virtual bool OwnsFocus {get; set;} |
Property Value
Boolean:
true if the OwningControl receives focus after a toolbar action;
false otherwise
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