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






Gets or sets the default value of the column when new row is added.

Syntax

Visual Basic (Declaration) 
<ISNet.Serialization.BinarySerializableAttribute()>
<DefaultValueAttribute()>
<ISNet.Serialization.XmlSerializableAttribute()>
<DescriptionAttribute("Gets or sets the default value of the column when new row is added.")>
<NotifyParentPropertyAttribute(True)>
Public Property DefaultValue As String
Visual Basic (Usage)Copy Code
Dim instance As WebGridColumn
Dim value As String
 
instance.DefaultValue = value
 
value = instance.DefaultValue
C# 
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
[DescriptionAttribute("Gets or sets the default value of the column when new row is added.")]
[NotifyParentPropertyAttribute(true)]
public string DefaultValue {get; set;}
Delphi 
public read-write property DefaultValue: String; 
JScript 
ISNet.Serialization.BinarySerializableAttribute()
DefaultValueAttribute()
ISNet.Serialization.XmlSerializableAttribute()
DescriptionAttribute("Gets or sets the default value of the column when new row is added.")
NotifyParentPropertyAttribute()
public function get,set DefaultValue : String
Managed Extensions for C++ 
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
[DescriptionAttribute("Gets or sets the default value of the column when new row is added.")]
[NotifyParentPropertyAttribute(true)]
public: __property string* get_DefaultValue();
public: __property void set_DefaultValue( 
   string* value
);
C++/CLI 
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
[DescriptionAttribute("Gets or sets the default value of the column when new row is added.")]
[NotifyParentPropertyAttribute(true)]
public:
property String^ DefaultValue {
   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.