ButtonBase::TextImageRelation Property

 

Gets or sets the position of text and image relative to each other.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
property TextImageRelation TextImageRelation {
	TextImageRelation get();
	void set(TextImageRelation value);
}

Property Value

Type: System.Windows.Forms::TextImageRelation

One of the values of TextImageRelation. The default is Overlay.

Exception Condition
InvalidEnumArgumentException

The value is not one of the TextImageRelation values.

.NET Framework
Available since 2.0
Return to top
Show: