Enum
DisplayStyle

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:

cs-api-definition
public enum DisplayStyle

Fields

Image

Specifies that only image content is rendered.

Declaration

cs-api-definition
Image = 2

Field Value

DisplayStyle

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.

ImageAndText

Specifies that both image and text content are rendered.

Declaration

cs-api-definition
ImageAndText = 3

Field Value

DisplayStyle

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.

None

Specifies that neither image nor text content is rendered.

Declaration

cs-api-definition
None = 0

Field Value

DisplayStyle

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.

Text

Specifies that only text content is rendered.

Declaration

cs-api-definition
Text = 1

Field Value

DisplayStyle

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