MaskedTextBox.Culture Property

Definition

Gets or sets the culture information associated with the masked text box.

public:
 property System::Globalization::CultureInfo ^ Culture { System::Globalization::CultureInfo ^ get(); void set(System::Globalization::CultureInfo ^ value); };
public System.Globalization.CultureInfo Culture { get; set; }
member this.Culture : System.Globalization.CultureInfo with get, set
Public Property Culture As CultureInfo

Property Value

A CultureInfo representing the culture supported by the MaskedTextBox.

Exceptions

Culture was set to null.

Applies to

See also