AdaptiveImageAlign Enum

Definition

Specifies the horizontal alignment for an image.

C#
public enum AdaptiveImageAlign
Inheritance
AdaptiveImageAlign

Fields

Name Value Description
Default 0

Default value, alignment behavior determined by renderer.

Stretch 1

Image stretches to fill available width (and potentially available height too, depending on where the image is).

Left 2

Align the image to the left, displaying the image at its native resolution.

Center 3

Align the image in the center horizontally, displaying the image at its native resolution.

Right 4

Align the image to the right, displaying the image at its native resolution.

Applies to

Produit Versions
Windows Community Toolkit 6.1.1, 7.0.0, 7.1.0