SpreadsheetGear 2017
Dock Property (WorkbookDesigner)






SpreadsheetGear.Windows.Forms Namespace > WorkbookDesigner Class : Dock Property
Syntax
'Declaration
 
<System.ComponentModel.DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
<System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.Repaint)>
<SRDescriptionAttribute("ControlDockDescr")>
<System.ComponentModel.LocalizableAttribute(True)>
<SRCategoryAttribute("CatLayout")>
Public Overridable Property Dock As System.Windows.Forms.DockStyle
'Usage
 
Dim instance As WorkbookDesigner
Dim value As System.Windows.Forms.DockStyle
 
instance.Dock = value
 
value = instance.Dock
[System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
[System.ComponentModel.RefreshProperties(RefreshProperties.Repaint)]
[SRDescription("ControlDockDescr")]
[System.ComponentModel.Localizable(true)]
[SRCategory("CatLayout")]
public virtual System.Windows.Forms.DockStyle Dock {get; set;}
public read-write property Dock: System.Windows.Forms.DockStyle; virtual; 
System.ComponentModel.DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)
System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.Repaint)
SRDescriptionAttribute("ControlDockDescr")
System.ComponentModel.LocalizableAttribute()
SRCategoryAttribute("CatLayout")
public function get,set Dock : System.Windows.Forms.DockStyle
[System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
[System.ComponentModel.RefreshProperties(RefreshProperties.Repaint)]
[SRDescription("ControlDockDescr")]
[System.ComponentModel.Localizable(true)]
[SRCategory("CatLayout")]
public: __property virtual System.Windows.Forms.DockStyle get_Dock();
public: __property virtual void set_Dock( 
   System.Windows.Forms.DockStyle value
);
[System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
[System.ComponentModel.RefreshProperties(RefreshProperties.Repaint)]
[SRDescription("ControlDockDescr")]
[System.ComponentModel.Localizable(true)]
[SRCategory("CatLayout")]
public:
virtual property System.Windows.Forms.DockStyle Dock {
   System.Windows.Forms.DockStyle get();
   void set (    System.Windows.Forms.DockStyle value);
}
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

Reference

WorkbookDesigner Class
WorkbookDesigner Members