File

projects/wms-framework/src/lib/models/controls/layouts/TileConstraints.ts

Description

Interface of tile constraints.

Index

Properties

Properties

HorizontalAlignment
HorizontalAlignment: HorizontalAlignment
Type : HorizontalAlignment

Horizontal alignment.

Margin
Margin: any
Type : any

Margin

MaxHeight
MaxHeight: number
Type : number

Maximum height of the tile.

MaxWidth
MaxWidth: number
Type : number

Maximum width of the tile.

MinHeight
MinHeight: number
Type : number

Minimum height of the tile.

MinWidth
MinWidth: number
Type : number

Minimum height of the tile.

PreferredHeight
PreferredHeight: number
Type : number

Preferred height of the tile.

PreferredWidth
PreferredWidth: number
Type : number

Preferred width of the tile.

VerticalAlignment
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;
}

result-matching ""

    No results matching ""