SharedRendererProps Interface
Properties shared by all renderers and PropertyView
Properties
Name | Type | Description | |
---|---|---|---|
actionButtonRenderers | ActionButtonRenderer[] | undefined | Array of action button renderers | |
columnInfo | | undefined | Information for styling property grid columns | |
columnRatio | number | undefined | Ratio between label and value cells | |
isHoverable | boolean | undefined | Indicates that properties have hover effect | |
isResizeHandleBeingDragged | boolean | undefined | Is resize handle being dragged | |
isResizeHandleHovered | boolean | undefined | Is resize handle hovered | |
isSelectable | boolean | undefined | Indicates that properties can be selected | |
isSelected | boolean | undefined | Controls component selection | |
onClick | (property: PropertyRecord, key?: string) => void | undefined | Called when property gets clicked. | |
onColumnRatioChanged | (ratio: number) => void | { ratio: number } | undefined | Callback to column ratio changed event | |
onContextMenu | (property: PropertyRecord, e: React.MouseEvent<Element, MouseEvent>) => void | undefined | Called to show a context menu for properties | |
onResizeHandleDragChanged | (isDragStarted: boolean) => void | undefined | Callback to drag event change | |
onResizeHandleHoverChanged | (isHovered: boolean) => void | undefined | Callback to hover event change | |
onRightClick | (property: PropertyRecord, key?: string) => void | undefined | Called when property gets right clicked. | |
orientation | Orientation | Orientation to use for displaying the property | |
propertyRecord | PropertyRecord | PropertyRecord to render | |
uniqueKey | string | undefined | Unique string, that identifies this property component. | |
width | number | undefined | Width of the whole property element |
Defined in
Last Updated: 20 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.