PropertyRendererProps Interface

Properties of PropertyRenderer React component

Extends

Properties

Name Type Description
highlight HighlightingComponentProps | undefined Props used for highlighting.  
indentation number | undefined Multiplier of how much the property is indented to the right  
isEditing boolean | undefined Indicates property is being edited  
onEditCancel () => void | undefined Called when property edit is cancelled.  
onEditCommit (args: PropertyUpdatedArgs) => void | undefined Called when property edit is committed.  
propertyValueRendererManager PropertyValueRendererManager | undefined Custom value renderer  

Inherited properties

Name Type Inherited from Description
actionButtonRenderers ActionButtonRenderer[] | undefined SharedRendererProps Array of action button renderers
alwaysShowEditor (property: PropertyRecord) => boolean | undefined SharedRendererProps Callback to determine which editors should be always visible
columnInfo | undefined SharedRendererProps Information for styling property grid columns
columnRatio number | undefined SharedRendererProps Ratio between label and value cells
isHoverable boolean | undefined SharedRendererProps Indicates that properties have hover effect
isPropertyEditingEnabled boolean | undefined SharedRendererProps Enables/disables property editing
isResizeHandleBeingDragged boolean | undefined SharedRendererProps Is resize handle being dragged
isResizeHandleHovered boolean | undefined SharedRendererProps Is resize handle hovered
isSelectable boolean | undefined SharedRendererProps Indicates that properties can be selected
isSelected boolean | undefined SharedRendererProps Controls component selection
onClick (property: PropertyRecord, key?: string) => void | undefined SharedRendererProps Called when property gets clicked.
onColumnRatioChanged (ratio: number) => void | { ratio: number } | undefined SharedRendererProps Callback to column ratio changed event
onContextMenu (property: PropertyRecord, e: React.MouseEvent<Element, MouseEvent>) => void | undefined SharedRendererProps Called to show a context menu for properties
onResizeHandleDragChanged (isDragStarted: boolean) => void | undefined SharedRendererProps Callback to drag event change
onResizeHandleHoverChanged (isHovered: boolean) => void | undefined SharedRendererProps Callback to hover event change
onRightClick (property: PropertyRecord, key?: string) => void | undefined SharedRendererProps Called when property gets right clicked.
orientation Orientation SharedRendererProps Orientation to use for displaying the property
propertyRecord PropertyRecord SharedRendererProps PropertyRecord to render
uniqueKey string | undefined SharedRendererProps Unique string, that identifies this property component.
width number | undefined SharedRendererProps Width of the whole property element

Defined in

Last Updated: 17 December, 2024