Interface · Data and Templates
VirtualDataGridProps
Props accepted by createVirtualDataGrid.
@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43Members
allowDrop
allowDrop?: booleanAllows native drag data to be dropped on this control.
Inherited
Type: boolean
automationName
automationName?: stringAccessible automation name exposed to assistive technology and test drivers.
Inherited
Type: string
canvasLeft
canvasLeft?: numberCanvas left coordinate when parented by Canvas.
Inherited
Type: number
canvasTop
canvasTop?: numberCanvas top coordinate when parented by Canvas.
Inherited
Type: number
capturePointerOnPress
capturePointerOnPress?: booleanCaptures a pressed pointer until release, cancellation, unmount, or disposal.
Inherited
Type: boolean
classes
classes?: readonly string[]Avalonia style classes applied to the native control.
Inherited
Type: readonly string[]
columns
columns: readonly DataGridColumn<T>[]Ordered grid column definitions.
Type: readonly DataGridColumn<T>[]
dock
dock?: DockEdge used when the control is placed in a DockPanel.
Inherited
Type: Dock
gridColumn
gridColumn?: numberZero-based column index when the control is placed in a Grid.
Inherited
Type: number
gridColumnSpan
gridColumnSpan?: numberNumber of Grid columns occupied by the control.
Inherited
Type: number
gridRow
gridRow?: numberZero-based row index when the control is placed in a Grid.
Inherited
Type: number
gridRowSpan
gridRowSpan?: numberNumber of Grid rows occupied by the control.
Inherited
Type: number
height
height?: numberPreferred control height in device-independent pixels.
Inherited
Type: number
horizontalAlignment
horizontalAlignment?: HorizontalAlignmentHorizontal alignment within the parent layout slot.
Inherited
Type: HorizontalAlignment
isEnabled
isEnabled?: booleanWhether the control accepts user interaction.
Inherited
Type: boolean
isVisible
isVisible?: booleanWhether the control participates in rendering and layout.
Inherited
Type: boolean
items
items: readonly T[]Complete logical row collection.
Type: readonly T[]
key
key?: ItemKeyOptional reconciliation key for the grid control.
Type: ItemKey
margin
margin?: ThicknessSpace outside the control.
Inherited
Type: Thickness
maxHeight
maxHeight?: numberMaximum permitted control height.
Inherited
Type: number
maxWidth
maxWidth?: numberMaximum permitted control width.
Inherited
Type: number
minHeight
minHeight?: numberMinimum permitted control height.
Inherited
Type: number
minWidth
minWidth?: numberMinimum permitted control width.
Inherited
Type: number
onDragOver
onDragOver?(event: DropEvent): DropEffectChooses the accepted native drag effect.
Inherited
onDrop
onDrop?(event: DropEvent): void | Promise<unknown>Receives normalized text and local-file drop data.
Inherited
onKeyDown
onKeyDown?(event: KeyEvent): booleanHandles a normalized key-down event.
Inherited
onKeyUp
onKeyUp?(event: KeyEvent): booleanHandles a normalized key-up event.
Inherited
onPointerCancel
onPointerCancel?(event: PointerEvent): booleanHandles cancellation or loss of an active pointer capture using its last known local state.
Inherited
onPointerDown
onPointerDown?(event: PointerEvent): booleanHandles a normalized pointer press.
Inherited
onPointerMove
onPointerMove?(event: PointerEvent): booleanHandles normalized pointer movement.
Inherited
onPointerUp
onPointerUp?(event: PointerEvent): booleanHandles a normalized pointer release.
Inherited
opacity
opacity?: numberOpacity from zero (transparent) to one (opaque).
Inherited
Type: number
overscan
overscan?: numberExtra row count rendered before and after the viewport.
Type: number
ref
ref?: ControlRef<unknown>Receives the retained native control handle.
Inherited
Type: ControlRef<unknown>
rowKey
rowKey(item: T, rowIndex: number): ItemKeyReturns a stable key for a row value and index.
startIndex
startIndex: numberZero-based first visible logical row index.
Type: number
toolTip
toolTip?: stringText shown when the pointer pauses over the control.
Inherited
Type: string
verticalAlignment
verticalAlignment?: VerticalAlignmentVertical alignment within the parent layout slot.
Inherited
Type: VerticalAlignment
visibleCount
visibleCount: numberNumber of logical rows in the visible viewport.
Type: number
width
width?: numberPreferred control width in device-independent pixels.
Inherited
Type: number
Related symbols
Source
SharpTS.Gui.Sdk/GuiPackage/runtime.ts:902 at SharpTS revision 7c6010104a43c34d80e9d44704cf179bc4f5b8e0.