SpreadsheetGear 2012
AutoSizeMode Property (WorkbookDesigner)






Syntax
'Declaration
 
<SRCategoryAttribute("Layout")>
<SRDescriptionAttribute("Specifies the mode by which the user interface element automatically resizes itself.")>
<System.ComponentModel.BrowsableAttribute(True)>
<System.ComponentModel.DefaultValueAttribute()>
<System.ComponentModel.LocalizableAttribute(True)>
Public Property AutoSizeMode As System.Windows.Forms.AutoSizeMode
'Usage
 
Dim instance As WorkbookDesigner
Dim value As System.Windows.Forms.AutoSizeMode
 
instance.AutoSizeMode = value
 
value = instance.AutoSizeMode
[SRCategory("Layout")]
[SRDescription("Specifies the mode by which the user interface element automatically resizes itself.")]
[System.ComponentModel.Browsable(true)]
[System.ComponentModel.DefaultValue()]
[System.ComponentModel.Localizable(true)]
public System.Windows.Forms.AutoSizeMode AutoSizeMode {get; set;}
public read-write property AutoSizeMode: System.Windows.Forms.AutoSizeMode; 
SRCategoryAttribute("Layout")
SRDescriptionAttribute("Specifies the mode by which the user interface element automatically resizes itself.")
System.ComponentModel.BrowsableAttribute()
System.ComponentModel.DefaultValueAttribute()
System.ComponentModel.LocalizableAttribute()
public function get,set AutoSizeMode : System.Windows.Forms.AutoSizeMode
[SRCategory("Layout")]
[SRDescription("Specifies the mode by which the user interface element automatically resizes itself.")]
[System.ComponentModel.Browsable(true)]
[System.ComponentModel.DefaultValue()]
[System.ComponentModel.Localizable(true)]
public: __property System.Windows.Forms.AutoSizeMode get_AutoSizeMode();
public: __property void set_AutoSizeMode( 
   System.Windows.Forms.AutoSizeMode value
);
[SRCategory("Layout")]
[SRDescription("Specifies the mode by which the user interface element automatically resizes itself.")]
[System.ComponentModel.Browsable(true)]
[System.ComponentModel.DefaultValue()]
[System.ComponentModel.Localizable(true)]
public:
property System.Windows.Forms.AutoSizeMode AutoSizeMode {
   System.Windows.Forms.AutoSizeMode get();
   void set (    System.Windows.Forms.AutoSizeMode 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

Send Feedback