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 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