projects/wms-framework/src/lib/models/controls/layouts/TileConstraints.ts
Interface of tile constraints.
Properties |
| HorizontalAlignment |
HorizontalAlignment:
|
Type : HorizontalAlignment
|
|
Horizontal alignment. |
| Margin |
Margin:
|
Type : any
|
|
Margin |
| MaxHeight |
MaxHeight:
|
Type : number
|
|
Maximum height of the tile. |
| MaxWidth |
MaxWidth:
|
Type : number
|
|
Maximum width of the tile. |
| MinHeight |
MinHeight:
|
Type : number
|
|
Minimum height of the tile. |
| MinWidth |
MinWidth:
|
Type : number
|
|
Minimum height of the tile. |
| PreferredHeight |
PreferredHeight:
|
Type : number
|
|
Preferred height of the tile. |
| PreferredWidth |
PreferredWidth:
|
Type : number
|
|
Preferred width of the tile. |
| VerticalAlignment |
VerticalAlignment:
|
Type : VerticalAlignment
|
|
Vertical alignment of the tile. |
import { HorizontalAlignment, VerticalAlignment } from '../ContainerEnums';
/**
* Interface of tile constraints.
*
* @export
* @interface ITileConstraints
* @wInterface Infragistics.Controls.Layouts.ITileConstraints
*/
export interface ITileConstraints {
/**
* Horizontal alignment.
*
* @type {HorizontalAlignment}
* @memberof ITileConstraints
*/
readonly HorizontalAlignment: HorizontalAlignment;
/**
* Margin
*
* @type {*}
* @memberof ITileConstraints
*/
readonly Margin: any;
/**
* Maximum height of the tile.
*
* @type {number}
* @memberof ITileConstraints
*/
readonly MaxHeight: number;
/**
* Maximum width of the tile.
*
* @type {number}
* @memberof ITileConstraints
*/
readonly MaxWidth: number;
/**
* Minimum height of the tile.
*
* @type {number}
* @memberof ITileConstraints
*/
readonly MinHeight: number;
/**
* Minimum height of the tile.
*
* @type {number}
* @memberof ITileConstraints
*/
readonly MinWidth: number;
/**
* Preferred height of the tile.
*
* @type {number}
* @memberof ITileConstraints
*/
readonly PreferredHeight: number;
/**
* Preferred width of the tile.
*
* @type {number}
* @memberof ITileConstraints
*/
readonly PreferredWidth: number;
/**
* Vertical alignment of the tile.
*
* @type {VerticalAlignment}
* @memberof ITileConstraints
*/
readonly VerticalAlignment: VerticalAlignment;
}
/**
* Interface of tile constraints.
*
* @export
* @class TileConstraints
* @wType Infragistics.Controls.Layouts.TileConstraints
*/
export class TileConstraints implements ITileConstraints {
/**
* Horizontal alignment.
*
* @type {HorizontalAlignment}
* @memberof TileConstraints
*/
HorizontalAlignment: HorizontalAlignment = HorizontalAlignment.Left;
/**
* Margin of the tile.
*
* @type {*}
* @memberof TileConstraints
*/
Margin: any = null;
/**
* Maximum height of the tile.
*
* @type {number}
* @memberof TileConstraints
*/
MaxHeight: number = 0;
/**
* Maximum width of the tile.
*
* @type {number}
* @memberof TileConstraints
*/
MaxWidth: number = 0;
/**
* Minimum height of the tile.
*
* @type {number}
* @memberof TileConstraints
*/
MinHeight: number = 0;
/**
* Minimum width of the tile.
*
* @type {number}
* @memberof TileConstraints
*/
MinWidth: number = 0;
/**
* Preferred height of the tile.
*
* @type {number}
* @memberof TileConstraints
*/
PreferredHeight: number = 0;
/**
* Preferred width of the tile.
*
* @type {number}
* @memberof TileConstraints
*/
PreferredWidth: number = 0;
/**
* Vertical alignment of the tile.
*
* @type {VerticalAlignment}
* @memberof TileConstraints
*/
VerticalAlignment: VerticalAlignment = VerticalAlignment.Top;
}