3 implementations of Aspect
Microsoft.Maui.Controls (3)
Button\Button.cs (1)
404
Aspect IImageElement.
Aspect
=> Aspect.AspectFit;
Image\Image.cs (1)
36
public Aspect
Aspect
ImageButton\ImageButton.cs (1)
90
public Aspect
Aspect
5 references to Aspect
Microsoft.Maui.Controls (4)
ImageElement.cs (4)
18
/// <summary>Bindable property for <see cref="IImageElement.
Aspect
"/>.</summary>
19
public static readonly BindableProperty AspectProperty = BindableProperty.Create(nameof(IImageElement.
Aspect
), typeof(Aspect), typeof(IImageElement), Aspect.AspectFit);
62
switch (ImageElementManager.
Aspect
)
78
switch (ImageElementManager.
Aspect
)
Microsoft.Maui.Controls.Compatibility (1)
iOS\Renderers\ImageElementManager.cs (1)
123
Control.ContentMode = imageElement.
Aspect
.ToUIViewContentMode();