Class Image
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
InnerCornerRadiusProperty
Identifies the Wpf.Ui.Controls.Image.InnerCornerRadius dependency property.
public static readonly DependencyProperty InnerCornerRadiusProperty
Field Value
InnerCornerRadiusPropertyKey
Identifies the Wpf.Ui.Controls.Image.InnerCornerRadius dependency property.
public static readonly DependencyPropertyKey InnerCornerRadiusPropertyKey
Field Value
SourceProperty
Identifies the Source dependency property.
public static readonly DependencyProperty SourceProperty
Field Value
StretchDirectionProperty
Identifies the StretchDirection dependency property.
public static readonly DependencyProperty StretchDirectionProperty
Field Value
StretchProperty
Identifies the Stretch dependency property.
public static readonly DependencyProperty StretchProperty
Field Value
- 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
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
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
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; }