C1.C1Preview Namespace : ImageAlign Structure |
The following tables list the members exposed by ImageAlign.
Name | Description | |
---|---|---|
ImageAlign Constructor | 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 ImageAlign.AlignHorz. | |
AlignVert | Gets or sets the vertical alignment of an image within a container. | |
AlignVertExpr | Gets or sets the expression used to calculate ImageAlign.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 ImageAlign.StretchHorz or ImageAlign.StretchVert is true. | |
KeepAspectRatioExpr | Gets or sets the expression used to calculate ImageAlign.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 ImageAlign.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 ImageAlign.StretchVert. | |
TileHorz | Gets or sets a value indicating whether an image is tiled horizontally within its container. Ignored if ImageAlign.StretchHorz is true. | |
TileHorzExpr | Gets or sets the expression used to calculate ImageAlign.TileHorz. | |
TileVert | Gets or sets a value indicating whether an image is tiled vertically within its container. Ignored if ImageAlign.StretchVert is true. | |
TileVertExpr | Gets or sets the expression used to calculate ImageAlign.TileVert. |
Name | Description | |
---|---|---|
ToString | Returns a string that represents the current ImageAlign. |