The requested page is not available for the requested platform. You are viewing the content for Default platform.

SvgIcon Members

Allows you to display SVG images in your applications.

Constructors

Name Description
SvgIcon()

Initializes a new instance of the SvgIcon class.

SvgIcon(SvgImage, Size)

Initializes a new instance of the SvgIcon class.

Fields

Name Description
AutoSizeProperty

Identifies the SvgIcon.AutoSize dependency property.

HorizontalContentAlignmentProperty

Identifies the SvgIcon.HorizontalContentAlignment dependency property.

IconStretchProperty

Identifies the SvgIcon.IconStretch dependency property.

PaletteProperty
SourceProperty

Identifies the SvgIcon.Source dependency property.

UseSvgPaletteProperty
VerticalContentAlignmentProperty

Identifies the SvgIcon.VerticalContentAlignment dependency property.

Properties

Name Description
AutoSize

Gets or sets whether the size of the source SVG image is automatically adjusted to the container dimensions. This is a dependency property.

HorizontalContentAlignment

Gets or sets the horizontal alignment of the icon. This is a dependency property.

IconStretch

Gets or sets a value that specifies how the image is resized to fill its allocated space. This is a dependency property.

IsLoadedEx
IsLoading

Gets whether the SVG image is currently loading.

Palette
Source

Gets or sets the uniform resource identifier of the SVG image. This is a dependency property.

UriSource

This member supports the internal infrastructure and is not intended to be used directly from your code.

UseSvgPalette
VerticalContentAlignment

Gets or sets the vertical alignment of the icon. This is a dependency property.

Events

Name Description
ImageFailed
ImageLoaded
See Also