RadioButton::TextAlign Property

 

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.

Namespace:   System.Windows.Forms
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::ContentAlignment

One 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
Return to top
Show: