ZoneWorkspace.SetIsDefaultZone Method
Determines whether the zone is the default one. Only one zone can be the default and only controls that are contained in the ZoneWorkspace can be set as default zones.
Namespace: Microsoft.Practices.CompositeUI.WinForms
Assembly: Microsoft.Practices.CompositeUI.WinForms (in microsoft.practices.compositeui.winforms.dll)
Syntax
'Declaration
<DisplayNameAttribute("IsDefaultZone")> _
Public Sub SetIsDefaultZone ( _
target As Control, _
isDefault As Boolean _
)
'Usage
Dim instance As ZoneWorkspace
Dim target As Control
Dim isDefault As Boolean
instance.SetIsDefaultZone(target, isDefault)
[DisplayNameAttribute("IsDefaultZone")]
public void SetIsDefaultZone (
Control target,
bool isDefault
)
[DisplayNameAttribute(L"IsDefaultZone")]
public:
void SetIsDefaultZone (
Control^ target,
bool isDefault
)
/** @attribute DisplayNameAttribute("IsDefaultZone") */
public void SetIsDefaultZone (
Control target,
boolean isDefault
)
DisplayNameAttribute("IsDefaultZone")
public function SetIsDefaultZone (
target : Control,
isDefault : boolean
)
Parameters
- target
Control to specify as the default one.
- isDefault
true if the zone is the default one, false otherwise.
See Also
Reference
ZoneWorkspace Class
ZoneWorkspace Members
Microsoft.Practices.CompositeUI.WinForms Namespace