[]
Represents the alignment of an image within its container.
public struct ImageAlign
Name | Description |
---|---|
ImageAlign(ImageAlignHorzEnum, ImageAlignVertEnum, bool, bool, bool, bool, bool) | Initializes a new instance of the ImageAlign class. |
Name | Description |
---|---|
AlignHorz | Gets or sets the horizontal alignment of an image within a container. |
AlignHorzExpr | Gets or sets the expression used to calculate AlignHorz. |
AlignVert | Gets or sets the vertical alignment of an image within a container. |
AlignVertExpr | Gets or sets the expression used to calculate AlignVert. |
BestFit | Gets or sets a value indicating whether an image should be resized to best fit within its container. See remarks for details. |
Default | Gets the default image alignment. |
KeepAspectRatio | Gets or sets a value indicating whether the original aspect ratio is preserved when rendering an image. Used when StretchHorz or StretchVert is true. |
KeepAspectRatioExpr | Gets or sets the expression used to calculate KeepAspectRatio. |
StretchHorz | Gets or sets a value indicating whether an image is stretched horizontally to fill its container. |
StretchHorzExpr | Gets or sets the expression used to calculate StretchHorz. |
StretchVert | Gets or sets a value indicating whether an image is stretched vertically to fill its container. |
StretchVertExpr | Gets or sets the expression used to calculate StretchVert. |
TileHorz | Gets or sets a value indicating whether an image is tiled horizontally within its container. Ignored if StretchHorz is true. |
TileHorzExpr | Gets or sets the expression used to calculate TileHorz. |
TileVert | Gets or sets a value indicating whether an image is tiled vertically within its container. Ignored if StretchVert is true. |
TileVertExpr | Gets or sets the expression used to calculate TileVert. |
Name | Description |
---|---|
ToString() | Returns a string that represents the current ImageAlign. |