ButtonBase.TextImageRelation Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 TextImageRelation TextImageRelation { get; set; }

Property Value

Type: System.Windows.Forms.TextImageRelation

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

Exception Condition

The value is not one of the TextImageRelation values.

.NET Framework
Available since 2.0
Return to top