SpreadsheetGear 2017
Anchor Property (WorkbookDesigner)






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