EnumDisplayStyle
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:
public enum DisplayStyle
Fields
Image
Specifies that only image content is rendered.
Declaration
Image = 2
Field Value
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
ImageAndText = 3
Field Value
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
None = 0
Field Value
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
Text = 1
Field Value
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.