Intersoft WebGrid Documentation
Caption Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > WebGridColumn Class : Caption Property






Gets or sets the text displayed in the column's heading area.

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Gets or sets the text displayed in the column's heading area.")>
<ISNet.Serialization.BinarySerializableAttribute()>
<DefaultValueAttribute()>
<ISNet.Serialization.XmlSerializableAttribute()>
<NotifyParentPropertyAttribute(True)>
Public Property Caption As String
Visual Basic (Usage)Copy Code
Dim instance As WebGridColumn
Dim value As String
 
instance.Caption = value
 
value = instance.Caption
C# 
[DescriptionAttribute("Gets or sets the text displayed in the column's heading area.")]
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
public string Caption {get; set;}
Delphi 
public read-write property Caption: String; 
JScript 
DescriptionAttribute("Gets or sets the text displayed in the column's heading area.")
ISNet.Serialization.BinarySerializableAttribute()
DefaultValueAttribute()
ISNet.Serialization.XmlSerializableAttribute()
NotifyParentPropertyAttribute()
public function get,set Caption : String
Managed Extensions for C++ 
[DescriptionAttribute("Gets or sets the text displayed in the column's heading area.")]
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
public: __property string* get_Caption();
public: __property void set_Caption( 
   string* value
);
C++/CLI 
[DescriptionAttribute("Gets or sets the text displayed in the column's heading area.")]
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
public:
property String^ Caption {
   String^ get();
   void set (    String^ value);
}

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.