Intersoft WebGrid Documentation
RowCount Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > ColumnSetSettings Class : RowCount Property






Specifies the number of rows in ColumnSet.

Syntax

Visual Basic (Declaration) 
<ISNet.Serialization.XmlSerializableAttribute()>
<ISNet.Serialization.BinarySerializableAttribute()>
<NotifyParentPropertyAttribute(True)>
<DefaultValueAttribute()>
<DescriptionAttribute()>
Public Property RowCount As Integer
Visual Basic (Usage)Copy Code
Dim instance As ColumnSetSettings
Dim value As Integer
 
instance.RowCount = value
 
value = instance.RowCount
C# 
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
[DescriptionAttribute()]
public int RowCount {get; set;}
Delphi 
public read-write property RowCount: Integer; 
JScript 
ISNet.Serialization.XmlSerializableAttribute()
ISNet.Serialization.BinarySerializableAttribute()
NotifyParentPropertyAttribute()
DefaultValueAttribute()
DescriptionAttribute()
public function get,set RowCount : int
Managed Extensions for C++ 
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
[DescriptionAttribute()]
public: __property int get_RowCount();
public: __property void set_RowCount( 
   int value
);
C++/CLI 
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
[DescriptionAttribute()]
public:
property int RowCount {
   int get();
   void set (    int value);
}

Example

The sample code below will show you on how to set one row on the ColumnSet:

[C#] 

WebGrid1.RootTable.ColumnSetSettings.RowCount = 1;

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.