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)


<DisplayNameAttribute("IsDefaultZone")> _
Public Sub SetIsDefaultZone ( _
    target As Control, _
    isDefault As Boolean _
Dim instance As ZoneWorkspace
Dim target As Control
Dim isDefault As Boolean

instance.SetIsDefaultZone(target, isDefault)
public void SetIsDefaultZone (
    Control target,
    bool isDefault
void SetIsDefaultZone (
    Control^ target, 
    bool isDefault
/** @attribute DisplayNameAttribute("IsDefaultZone") */ 
public void SetIsDefaultZone (
    Control target, 
    boolean isDefault
public function SetIsDefaultZone (
    target : Control, 
    isDefault : boolean


  • target
    Control to specify as the default one.
  • isDefault
    true if the zone is the default one, false otherwise.

See Also


ZoneWorkspace Class
ZoneWorkspace Members
Microsoft.Practices.CompositeUI.WinForms Namespace