SpreadsheetGear 2012
Dock Property (ShapeExplorer)






Syntax
'Declaration
 
<System.ComponentModel.DefaultValueAttribute()>
<System.ComponentModel.LocalizableAttribute(True)>
<System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.Repaint)>
<SRCategoryAttribute("Layout")>
<SRDescriptionAttribute("Defines which borders of the control are bound to the container. ")>
Public Overridable Property Dock As System.Windows.Forms.DockStyle
'Usage
 
Dim instance As ShapeExplorer
Dim value As System.Windows.Forms.DockStyle
 
instance.Dock = value
 
value = instance.Dock
[System.ComponentModel.DefaultValue()]
[System.ComponentModel.Localizable(true)]
[System.ComponentModel.RefreshProperties(RefreshProperties.Repaint)]
[SRCategory("Layout")]
[SRDescription("Defines which borders of the control are bound to the container. ")]
public virtual System.Windows.Forms.DockStyle Dock {get; set;}
public read-write property Dock: System.Windows.Forms.DockStyle; virtual; 
System.ComponentModel.DefaultValueAttribute()
System.ComponentModel.LocalizableAttribute()
System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.Repaint)
SRCategoryAttribute("Layout")
SRDescriptionAttribute("Defines which borders of the control are bound to the container. ")
public function get,set Dock : System.Windows.Forms.DockStyle
[System.ComponentModel.DefaultValue()]
[System.ComponentModel.Localizable(true)]
[System.ComponentModel.RefreshProperties(RefreshProperties.Repaint)]
[SRCategory("Layout")]
[SRDescription("Defines which borders of the control are bound to the container. ")]
public: __property virtual System.Windows.Forms.DockStyle get_Dock();
public: __property virtual void set_Dock( 
   System.Windows.Forms.DockStyle value
);
[System.ComponentModel.DefaultValue()]
[System.ComponentModel.Localizable(true)]
[System.ComponentModel.RefreshProperties(RefreshProperties.Repaint)]
[SRCategory("Layout")]
[SRDescription("Defines which borders of the control are bound to the container. ")]
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

ShapeExplorer Class
ShapeExplorer Members

Send Feedback