Page.UICulture Property

Definition

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

public:
 property System::String ^ UICulture { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Browsable(false)]
public string UICulture { get; set; }
member this.UICulture : string with get, set
Public Property UICulture As String

Property Value

The UI ID.

Attributes

Remarks

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