Class
PromptInputFileIcon

Carries the visual representation of a file icon shown inside a PromptInputAttachedFileElement. Supply one of Glyph, Image or SvgImage; when multiple are provided, SvgImage wins over Image, which wins over Glyph.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class PromptInputFileIcon

Inheritance: objectPromptInputFileIcon

Constructors

PromptInputFileIcon()

Initializes a new instance of the PromptInputFileIcon class.

Declaration

cs-api-definition
public PromptInputFileIcon()

PromptInputFileIcon(Image)

Initializes a new instance of the PromptInputFileIcon class with the specified image.

Declaration

cs-api-definition
public PromptInputFileIcon(Image image)

Parameters

image

Image

PromptInputFileIcon(RadSvgImage)

Initializes a new instance of the PromptInputFileIcon class with the specified SVG image.

Declaration

cs-api-definition
public PromptInputFileIcon(RadSvgImage svgImage)

Parameters

svgImage

RadSvgImage

PromptInputFileIcon(string)

Initializes a new instance of the PromptInputFileIcon class with the specified glyph character.

Declaration

cs-api-definition
public PromptInputFileIcon(string glyph)

Parameters

glyph

string

Properties

Glyph

Gets or sets the glyph character (e.g. from TelerikWebUIFont) to display as the file icon.

Declaration

cs-api-definition
public string Glyph { get; set; }

Property Value

string

Image

Gets or sets the raster image used as the file icon. Takes precedence over Glyph.

Declaration

cs-api-definition
public Image Image { get; set; }

Property Value

Image

SvgImage

Gets or sets the SVG image used as the file icon. Takes precedence over both Image and Glyph.

Declaration

cs-api-definition
public RadSvgImage SvgImage { get; set; }

Property Value

RadSvgImage