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






Gets or sets the expandable preview row on WebGridTable.

Syntax

Visual Basic (Declaration) 
<TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)>
<ISNet.Serialization.BinarySerializableAttribute()>
<PersistenceModeAttribute(PersistenceMode.InnerProperty)>
<NotifyParentPropertyAttribute(True)>
<ISNet.Serialization.XmlSerializableAttribute(True)>
<DescriptionAttribute()>
<DefaultValueAttribute()>
Public Property PreviewRowSettings As PreviewRowSettings
Visual Basic (Usage)Copy Code
Dim instance As WebGridTable
Dim value As PreviewRowSettings
 
instance.PreviewRowSettings = value
 
value = instance.PreviewRowSettings
C# 
[TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
[ISNet.Serialization.BinarySerializableAttribute()]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.XmlSerializableAttribute(true)]
[DescriptionAttribute()]
[DefaultValueAttribute()]
public PreviewRowSettings PreviewRowSettings {get; set;}
Delphi 
public read-write property PreviewRowSettings: PreviewRowSettings; 
JScript 
TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")
DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)
ISNet.Serialization.BinarySerializableAttribute()
PersistenceModeAttribute(PersistenceMode.InnerProperty)
NotifyParentPropertyAttribute()
ISNet.Serialization.XmlSerializableAttribute()
DescriptionAttribute()
DefaultValueAttribute()
public function get,set PreviewRowSettings : PreviewRowSettings
Managed Extensions for C++ 
[TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
[ISNet.Serialization.BinarySerializableAttribute()]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.XmlSerializableAttribute(true)]
[DescriptionAttribute()]
[DefaultValueAttribute()]
public: __property PreviewRowSettings* get_PreviewRowSettings();
public: __property void set_PreviewRowSettings( 
   PreviewRowSettings* value
);
C++/CLI 
[TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
[ISNet.Serialization.BinarySerializableAttribute()]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.XmlSerializableAttribute(true)]
[DescriptionAttribute()]
[DefaultValueAttribute()]
public:
property PreviewRowSettings^ PreviewRowSettings {
   PreviewRowSettings^ get();
   void set (    PreviewRowSettings^ value);
}

Remarks

PreviewRow settings is attached per table and can be found in expandable PreviewRowSettings property. Following is list of PreviewRowSettings:

  • DataMember

    The data field that will be displayed in preview row. (required)

  • DefaultExpanded

    Specifies whether the preview row should be expanded by default. Default value: True

  • Expandable

    Specifies whether the preview row is expandable. When set to False, PreviewRow Expander Column will not appear and DefaultExpanded must be set to True. Default value is True.

  • Height

    Specifies the height of preview row. Default is Empty, means that the height will follow the text's length in preview row.

  • Indentation

    Specifies the space width between edge to previewrow's text. Default is 18px.

Note that it is possible to enable previewrow mode along with columnset mode, as well as with other existing features such as grouping, hierarchical and dozens of UI settings' combinations.

To learn more and give you better illustration, please read Preview Row.

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.