NonPrimitivePropertyRendererProps Interface

Properties of NonPrimitivePropertyRenderer React component

Extends

Properties

Name Type Description
isCollapsible boolean | undefined Can struct/array property be collapsed  

Inherited properties

Name Type Inherited from Description
actionButtonRenderers ActionButtonRenderer[] | undefined PrimitiveRendererProps Array of action button renderers
columnInfo | undefined PrimitiveRendererProps Information for styling property grid columns
columnRatio number | undefined PrimitiveRendererProps Ratio between label and value cells
highlight HighlightingComponentProps | undefined PrimitiveRendererProps Properties used for highlighting
indentation number | undefined PrimitiveRendererProps Multiplier of how much the property is indented to the right
isHoverable boolean | undefined PrimitiveRendererProps Indicates that properties have hover effect
isResizeHandleBeingDragged boolean | undefined PrimitiveRendererProps Is resize handle being dragged
isResizeHandleHovered boolean | undefined PrimitiveRendererProps Is resize handle hovered
isSelectable boolean | undefined PrimitiveRendererProps Indicates that properties can be selected
isSelected boolean | undefined PrimitiveRendererProps Controls component selection
onClick (property: PropertyRecord, key?: string) => void | undefined PrimitiveRendererProps Called when property gets clicked.
onColumnRatioChanged (ratio: number) => void | { ratio: number } | undefined PrimitiveRendererProps Callback to column ratio changed event
onContextMenu (property: PropertyRecord, e: React.MouseEvent<Element, MouseEvent>) => void | undefined PrimitiveRendererProps Called to show a context menu for properties
onResizeHandleDragChanged (isDragStarted: boolean) => void | undefined PrimitiveRendererProps Callback to drag event change
onResizeHandleHoverChanged (isHovered: boolean) => void | undefined PrimitiveRendererProps Callback to hover event change
onRightClick (property: PropertyRecord, key?: string) => void | undefined PrimitiveRendererProps Called when property gets right clicked.
orientation Orientation PrimitiveRendererProps Orientation to use for displaying the property
propertyRecord PropertyRecord PrimitiveRendererProps PropertyRecord to render
uniqueKey string | undefined PrimitiveRendererProps Unique string, that identifies this property component.
valueElement React.ReactNode | undefined PrimitiveRendererProps Property value as a React element
valueElementRenderer () => React.ReactNode | undefined PrimitiveRendererProps Render callback for property value.
width number | undefined PrimitiveRendererProps Width of the whole property element

Defined in

Last Updated: 20 November, 2024