Redigera

Dela via


Page.UICulture Property

Definition

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

protected:
 property System::String ^ UICulture {  void set(System::String ^ value); };
public:
 property System::String ^ UICulture { System::String ^ get(); void set(System::String ^ value); };
protected string UICulture { set; }
[System.ComponentModel.Browsable(false)]
public string UICulture { get; set; }
member this.UICulture : string
[<System.ComponentModel.Browsable(false)>]
member this.UICulture : string with get, set
Protected Property UICulture As String
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