Page.UICulture Property


Sets the user interface (UI) ID for the Thread object associated with the page.

 property System::String ^ UICulture {  void set(System::String ^ value); };
 property System::String ^ UICulture { System::String ^ get(); void set(System::String ^ value); };
protected string UICulture { set; }
public string UICulture { get; set; }
member this.UICulture : string
member this.UICulture : string with get, set
Protected Property UICulture As String
Public Property UICulture As String

Property Value

The UI ID.



This property is a shortcut for the CurrentThread property. The culture is a property of the executing thread

Set the UICulture attribute in the @ Page directive in the .aspx file. When the page is requested, the dynamically generated class sets the value of this property. In addition, you can also explicitly set the value of the UICulture property in the globalization element of the Web.config file.

Applies to

See also