The ImageAlign type exposes the following members.

Constructors

  Name Description
Public method ImageAlign
Initializes a new instance of the ImageAlign class.

Methods

  Name Description
Public method Equals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public method GetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public method ToString
Returns a string that represents the current ImageAlign.
(Overrides ValueType..::..ToString()()()().)

Properties

  Name Description
Public property AlignHorz
Gets or sets the horizontal alignment of an image within a container.
Public property AlignHorzExpr
Gets or sets the expression used to calculate AlignHorz.
Public property AlignVert
Gets or sets the vertical alignment of an image within a container.
Public property AlignVertExpr
Gets or sets the expression used to calculate AlignVert.
Public property BestFit
Gets or sets a value indicating whether an image should be resized to best fit within its container. See remarks for details.
Public property Static member Default
Gets the default image alignment.
Public property 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.
Public property KeepAspectRatioExpr
Gets or sets the expression used to calculate KeepAspectRatio.
Public property StretchHorz
Gets or sets a value indicating whether an image is stretched horizontally to fill its container.
Public property StretchHorzExpr
Gets or sets the expression used to calculate StretchHorz.
Public property StretchVert
Gets or sets a value indicating whether an image is stretched vertically to fill its container.
Public property StretchVertExpr
Gets or sets the expression used to calculate StretchVert.
Public property TileHorz
Gets or sets a value indicating whether an image is tiled horizontally within its container. Ignored if StretchHorz is true.
Public property TileHorzExpr
Gets or sets the expression used to calculate TileHorz.
Public property TileVert
Gets or sets a value indicating whether an image is tiled vertically within its container. Ignored if StretchVert is true.
Public property TileVertExpr
Gets or sets the expression used to calculate TileVert.

See Also