File

projects/wms-framework/src/lib/models/controls/Size.ts

Description

Class Size

Index

Properties

Constructor

constructor(width?: number, height?: number)
Parameters :
Name Type Optional
width number Yes
height number Yes

Properties

Height
Type : number
Width
Type : number
export class Size {
  Width: number;
  Height: number;

  constructor(width?: number, height?: number) {
    this.Width = width ?? 0;
    this.Height = height ?? 0;
  }
}

/**
 * Class SizeChangedEventArgs
 * @export
 * @class SizeChangedEventArgs
 * @wType System.Windows.SizeChangedEventArgs
 */
export class SizeChangedEventArgs {
  NewSize: Size;
  PreviousSize: Size;
}

result-matching ""

    No results matching ""