共用方式為


Image.Aspect Property

Definition

Gets or sets the scaling mode for the image. This is a bindable property.

public:
 property Microsoft::Maui::Aspect Aspect { Microsoft::Maui::Aspect get(); void set(Microsoft::Maui::Aspect value); };
public Microsoft.Maui.Aspect Aspect { get; set; }
member this.Aspect : Microsoft.Maui.Aspect with get, set
Public Property Aspect As Aspect

Property Value

A Aspect representing the scaling mode of the image. Default is AspectFit.

Applies to