RadioButton::TextAlign Property
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Gets or sets the alignment of the text on the RadioButton control.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: property ContentAlignment TextAlign { virtual ContentAlignment get() override; virtual void set(ContentAlignment value) override; }
Property Value
Type: System.Drawing::ContentAlignmentOne of the ContentAlignment values. The default is MiddleLeft.
| Exception | Condition |
|---|---|
| InvalidEnumArgumentException | The value assigned is not one of the ContentAlignment values. |
.NET Framework
Available since 1.1
Available since 1.1
Show: