Intersoft WebGrid Documentation
Expandable Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > PreviewRowSettings Class : Expandable Property






Indicates whether the PreviewRow is expandable. If this property is set to false, the PreviewRows would always show up.

Syntax

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

Remarks

In WebGrid.NET 5.0 Enterprise, you can configure WebGrid to skip preview row rendering in first load to reduce initial page output size. In this scenario, the preview row Expanded state is automatically set to false (Collapse). The preview row data will be retrieved through AJAX callback when you clicked on the expand icon.

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.