Intersoft WebGrid Documentation
Culture Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > LayoutSet Class : Culture Property






Specifies the culture setting for current WebGrid instance.

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Specifies the culture setting for current WebGrid instance.")>
<ISNet.Serialization.BinarySerializableAttribute()>
<DefaultValueAttribute()>
<NotifyParentPropertyAttribute(True)>
<ISNet.PersistLayoutAttribute(False)>
Public Property Culture As CultureInfo
Visual Basic (Usage)Copy Code
Dim instance As LayoutSet
Dim value As CultureInfo
 
instance.Culture = value
 
value = instance.Culture
C# 
[DescriptionAttribute("Specifies the culture setting for current WebGrid instance.")]
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.PersistLayoutAttribute(false)]
public CultureInfo Culture {get; set;}
Delphi 
public read-write property Culture: CultureInfo; 
JScript 
DescriptionAttribute("Specifies the culture setting for current WebGrid instance.")
ISNet.Serialization.BinarySerializableAttribute()
DefaultValueAttribute()
NotifyParentPropertyAttribute()
ISNet.PersistLayoutAttribute()
public function get,set Culture : CultureInfo
Managed Extensions for C++ 
[DescriptionAttribute("Specifies the culture setting for current WebGrid instance.")]
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.PersistLayoutAttribute(false)]
public: __property CultureInfo* get_Culture();
public: __property void set_Culture( 
   CultureInfo* value
);
C++/CLI 
[DescriptionAttribute("Specifies the culture setting for current WebGrid instance.")]
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.PersistLayoutAttribute(false)]
public:
property CultureInfo^ Culture {
   CultureInfo^ get();
   void set (    CultureInfo^ value);
}

Remarks

The specified culture info will be used for the entire WebGrid.NET editing functionality including numeric validation, date and time validation as well as comprehensive client side data formatting feature.

If this property is set to Default, it will use current thread's CultureInfo.

In WebGrid.NET 5.0 Enterprise if culture is set to default (en-US), the xml data for culture info is no longer generated in the webpage. This will optimize the output.  

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.