The ImageAlign type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ImageAlign |
Initializes a new instance of the ImageAlign class.
|
Methods
Name | Description | |
---|---|---|
Equals |
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.) |
|
GetHashCode |
Returns the hash code for this instance.
(Inherited from ValueType.) |
|
ToString |
Returns a string that represents the current ImageAlign.
(Overrides ValueType..::..ToString()()()().) |
Properties
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.
|