FlexGrid for WinForms
MaxSize Property



Gets or sets the maximum size for rows and columns in the collection.
Syntax
'Declaration
 
<C1CategoryAttribute("Layout")>
<C1DescriptionAttribute("Gets or sets the maximum size for rows and columns in the collection.")>
<DefaultValueAttribute()>
Public Property MaxSize As Integer
'Usage
 
Dim instance As RowColCollection
Dim value As Integer
 
instance.MaxSize = value
 
value = instance.MaxSize
[C1Category("Layout")]
[C1Description("Gets or sets the maximum size for rows and columns in the collection.")]
[DefaultValue()]
public int MaxSize {get; set;}
[C1Category("Layout")]
[C1Description("Gets or sets the maximum size for rows and columns in the collection.")]
[DefaultValue()]
public:
property int MaxSize {
   int get();
   void set (    int value);
}
Remarks

The MaxSize property limits the maximum size of rows or columns when they are resized by the user or adjusted to fit the contents with the AutoSizeRows(Int32,Int32,Int32,Int32,Int32,AutoSizeFlags) or AutoSizeCols(Int32,Int32,Int32,Int32,Int32,AutoSizeFlags) method.

Setting this property to zero disables it.

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

RowColCollection Class
RowColCollection Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback