Table of Contents

Class Image

Namespace
Wpf.Ui.Controls
Assembly
Wpf.Ui.dll

Represents an image with additional properties for Borders and Rounded corners

public class Image : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient
Inheritance
Image
Implements
Inherited Members

Fields

CornerRadiusProperty

Identifies the CornerRadius dependency property.

public static readonly DependencyProperty CornerRadiusProperty

Field Value

DependencyProperty

InnerCornerRadiusProperty

Identifies the Wpf.Ui.Controls.Image.InnerCornerRadius dependency property.

public static readonly DependencyProperty InnerCornerRadiusProperty

Field Value

DependencyProperty

InnerCornerRadiusPropertyKey

Identifies the Wpf.Ui.Controls.Image.InnerCornerRadius dependency property.

public static readonly DependencyPropertyKey InnerCornerRadiusPropertyKey

Field Value

DependencyPropertyKey

SourceProperty

Identifies the Source dependency property.

public static readonly DependencyProperty SourceProperty

Field Value

DependencyProperty

StretchDirectionProperty

Identifies the StretchDirection dependency property.

public static readonly DependencyProperty StretchDirectionProperty

Field Value

DependencyProperty

StretchProperty

Identifies the Stretch dependency property.

public static readonly DependencyProperty StretchProperty

Field Value

DependencyProperty
See Also

Properties

CornerRadius

Gets or sets the CornerRadius property allows users to control the roundness of the corners independently by setting a radius value for each corner. Radius values that are too large are scaled so that they smoothly blend from corner to corner.

public CornerRadius CornerRadius { get; set; }

Property Value

CornerRadius

Source

Gets or sets the Source on this Image. The Source property is the ImageSource that holds the actual image drawn.

public ImageSource? Source { get; set; }

Property Value

ImageSource

Stretch

Gets or sets the Stretch on this Image. The Stretch property determines how large the Image will be drawn.

public Stretch Stretch { get; set; }

Property Value

Stretch

StretchDirection

Gets or sets the stretch direction of the Viewbox, which determines the restrictions on scaling that are applied to the content inside the Viewbox. For instance, this property can be used to prevent the content from being smaller than its native size or larger than its native size.

public StretchDirection StretchDirection { get; set; }

Property Value

StretchDirection