New to Telerik UI for WinFormsStart a free 30-day trial

Specifies which visual elements (image, text, or both) should be displayed in a control or element.

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

C#
public enum DisplayStyle

Fields

Specifies that only image content is rendered.

C#
Image = 2
Remarks:

When set to Image, only the image content will be displayed. Any associated text will be hidden, and the layout will be optimized for image-only display.

Specifies that both image and text content are rendered.

C#
ImageAndText = 3
Remarks:

When set to ImageAndText, both the image and text content will be displayed according to the layout configuration. The relative positioning of image and text is typically controlled by additional properties such as TextImageRelation.

Specifies that neither image nor text content is rendered.

C#
None = 0
Remarks:

When set to None, the element will not display any image or text content, though it may still occupy space and display background, borders, or other visual elements.

Specifies that only text content is rendered.

C#
Text = 1
Remarks:

When set to Text, only the text content will be displayed. Any associated images will be hidden, and the layout will be optimized for text-only display.

In this article
DefinitionFieldsImageImageAndTextNoneText
Not finding the help you need?
Contact Support