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

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:

C#
public class PromptInputFileIcon

Inheritance: objectPromptInputFileIcon

Constructors

Initializes a new instance of the PromptInputFileIcon class.

C#
public PromptInputFileIcon()

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

C#
public PromptInputFileIcon(Image image)
Parameters:imageImage

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

C#
public PromptInputFileIcon(RadSvgImage svgImage)
Parameters:svgImageRadSvgImage

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

C#
public PromptInputFileIcon(string glyph)
Parameters:glyphstring

Properties

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

C#
public string Glyph { get; set; }

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

C#
public Image Image { get; set; }

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

C#
public RadSvgImage SvgImage { get; set; }