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






Specifies whether the preview row should be expanded by default.

Syntax

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

Property Value

Default Value is True.

Remarks

If you set this property to False, the preview row data will not be expanded in the first load. The preview row data will be expanded 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.