React Box Types

BoxDirection

Specifies the direction of item positioning in the UI component.

Accepted Values: 'col' | 'row'

Used in:

ContentReadyEvent

The type of the contentReady event handler's argument.

import { BoxTypes } from "devextreme-react/box"
Type: BoxTypes.ContentReadyEvent

CrosswiseDistribution

Specifies how UI component items are aligned cross-wise.

Accepted Values: 'center' | 'end' | 'start' | 'stretch'

Used in:

DisposingEvent

The type of the disposing event handler's argument.

import { BoxTypes } from "devextreme-react/box"
Type: BoxTypes.DisposingEvent

Distribution

Specifies how UI component items are aligned along the main direction.

Accepted Values: 'center' | 'end' | 'space-around' | 'space-between' | 'start'

Used in:

InitializedEvent

The type of the initialized event handler's argument.

import { BoxTypes } from "devextreme-react/box"
Type: BoxTypes.InitializedEvent

ItemClickEvent

The type of the itemClick event handler's argument.

import { BoxTypes } from "devextreme-react/box"
Type: BoxTypes.ItemClickEvent

ItemContextMenuEvent

The type of the itemContextMenu event handler's argument.

import { BoxTypes } from "devextreme-react/box"
Type: BoxTypes.ItemContextMenuEvent

ItemHoldEvent

The type of the itemHold event handler's argument.

import { BoxTypes } from "devextreme-react/box"
Type: BoxTypes.ItemHoldEvent

Used in:

ItemRenderedEvent

The type of the itemRendered event handler's argument.

import { BoxTypes } from "devextreme-react/box"
Type: BoxTypes.ItemRenderedEvent

OptionChangedEvent

The type of the optionChanged event handler's argument.

import { BoxTypes } from "devextreme-react/box"
Type: BoxTypes.OptionChangedEvent