WindowProps

Represents the props of the KendoReact Window component.

draggable? boolean

Specifies if the Window will be draggable (see example).

height? number

Specifies the height of the Window (see example).

initialHeight? number

Specifies the initial height of the Window (see example). The component will be in an uncontrolled mode.

initialLeft? number

Specifies the initial left value (see example). The Window will be in an uncontrolled mode.

initialTop? number

Specifies the initial top value (see example). The component will be in an uncontrolled mode.

initialWidth? number

Specifies the initial width of the Window (see example). The component will be in an uncontrolled mode.

left? number

Specifies the left coordinates of the Window.

minHeight? number

Specifies the minimum height of the Window (see example).

minWidth? number

Specifies the minimum width of the Window (see example).

onClose? (event: WindowActionsEvent) => void

Fires when the Close button in the title is clicked or when the Esc button is pressed.

onMove? (event: WindowMoveEvent) => void

Fires when the Window is dragged.

onResize? (event: WindowMoveEvent) => void

Fires when the Window resizes.

onStageChange? (event: WindowActionsEvent) => void

Fires when the DEFAULT, FULLSCREEN, or MINIMIZED state of the Window is changed.

resizable? boolean

Specifies if the Window will be resizable (see example).

shouldUpdateOnDrag? boolean

Specifies if the Window content will update during resizing.

stage? windowStage | string

Controls the state of the Window (see example).

The supported values are:

  • DEFAULT
  • MINIMIZED
  • FULLSCREEN

style? any

Set styles to the Window element.

title? React.ReactNode | string

Specifies the title of the Window (see example).

top? number

Specifies the top coordinates of the Window.

width? number

Specifies the width of the Window.

 /