TextImageRelation Enumeration

 

Specifies the position of the text and image relative to each other on a control.

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

public enum TextImageRelation

Member nameDescription
ImageAboveText

Specifies that the image is displayed vertically above the text of a control.

ImageBeforeText

Specifies that the image is displayed horizontally before the text of a control.

Overlay

Specifies that the image and text share the same space on a control.

TextAboveImage

Specifies that the text is displayed vertically above the image of a control.

TextBeforeImage

Specifies that the text is displayed horizontally before the image of a control.

.NET Framework
Available since 2.0
Return to top
Show: