IIgrToolActionProps

Optional accentColor

Section titled "accentColor"
accentColor?: string

Optional actualAccentColor

Section titled "actualAccentColor"
actualAccentColor?: string

Optional actualBackground

Section titled "actualBackground"

Gets the actual background used by the tool action.

actualBackground?: string

Optional actualDensity

Section titled "actualDensity"

Gets the resolved display density to use for the action.

actualDensity?: any

Optional actualDisabledTextColor

Section titled "actualDisabledTextColor"

Gets the actual label text color when the tool is disabled.

actualDisabledTextColor?: string

Optional actualHighlightColor

Section titled "actualHighlightColor"
actualHighlightColor?: string

Optional actualHighlightRadius

Section titled "actualHighlightRadius"
actualHighlightRadius?: string | number

Optional actualHighlightWidth

Section titled "actualHighlightWidth"
actualHighlightWidth?: string | number

Optional actualHoverBackground

Section titled "actualHoverBackground"

Gets the actual hover background used by the tool action.

actualHoverBackground?: string

Optional actualIconFill

Section titled "actualIconFill"

Gets the actual icon fill color.

actualIconFill?: string

Optional actualIconHeight

Section titled "actualIconHeight"

Gets the actual icon height used.

actualIconHeight?: string | number

Optional actualIconStroke

Section titled "actualIconStroke"

Gets the actual icon stroke color.

actualIconStroke?: string

Optional actualIconWidth

Section titled "actualIconWidth"

Gets the actual icon width used.

actualIconWidth?: string | number

Optional actualPaddingBottom

Section titled "actualPaddingBottom"
actualPaddingBottom?: string | number

Optional actualPaddingLeft

Section titled "actualPaddingLeft"
actualPaddingLeft?: string | number

Optional actualPaddingRight

Section titled "actualPaddingRight"
actualPaddingRight?: string | number

Optional actualPaddingTop

Section titled "actualPaddingTop"
actualPaddingTop?: string | number

Optional actualSubtitleTextColor

Section titled "actualSubtitleTextColor"

Gets the actual label text color.

actualSubtitleTextColor?: string

Optional actualSubtitleTextStyle

Section titled "actualSubtitleTextStyle"

Gets the actual font used.

actualSubtitleTextStyle?: FontInfo

Optional actualTextColor

Section titled "actualTextColor"

Gets the actual label text color.

actualTextColor?: string

Optional actualTextStyle

Section titled "actualTextStyle"

Gets the actual font used.

actualTextStyle?: FontInfo

Gets or sets the Id of the action that this action will be inserted after. Subsequent actions will continue to insert after the target action, following the original action that set this property. If using this property do not use the BeforeId property. This property is only relevant during initial insertion into the toolbar. Changing the property after the action has already been added will have no effect.

afterId?: string

Optional background

Section titled "background"

Gets or sets the background color of the tool action.

background?: string

Optional beforeId

Section titled "beforeId"

Gets or sets the Id of the action that this action will be inserted before. Subsequent actions will continue to insert before the target action, following the original action that set this property. If using this property do not use the AfterId property. This property is only relevant during initial insertion into the toolbar. Changing the property after the action has already been added will have no effect.

beforeId?: string

Optional children

Section titled "children"
children?: ReactNode

Optional closeOnExecute

Section titled "closeOnExecute"

Gets or sets if the tool action will close its parent dropdown when executed by the user.

closeOnExecute?: string | boolean

Optional commandArgument

Section titled "commandArgument"
commandArgument?: string

Optional commandArgumentValue

Section titled "commandArgumentValue"
commandArgumentValue?: any

Optional commandId

Section titled "commandId"
commandId?: string

Optional contextBindings

Section titled "contextBindings"

Gets the context bindings for this tool action.

contextBindings?: string | IgrToolContextBindingCollection

Gets or sets the display density to use for the action.

density?: any

Optional disabledTextColor

Section titled "disabledTextColor"

Gets or sets the label text color when the tool is disabled.

disabledTextColor?: string

Gets or sets the height to use for this tool action.

height?: string | number

Optional highlightColor

Section titled "highlightColor"
highlightColor?: string

Optional highlightRadius

Section titled "highlightRadius"
highlightRadius?: string | number

Optional highlightWidth

Section titled "highlightWidth"
highlightWidth?: string | number

Optional hoverBackground

Section titled "hoverBackground"

Gets or sets the hover background for this tool action.

hoverBackground?: string

Optional iconCollectionName

Section titled "iconCollectionName"
iconCollectionName?: string

Optional iconFill

Section titled "iconFill"

Gets or sets the icon fill color.

iconFill?: string

Optional iconFillColors

Section titled "iconFillColors"

Gets or sets the icon fill colors.

iconFillColors?: string | string[]

Optional iconHeight

Section titled "iconHeight"

Gets or sets the height of the icon.

iconHeight?: string | number

Optional iconName

Section titled "iconName"
iconName?: string

Optional iconStroke

Section titled "iconStroke"

Gets or sets the icon stroke color.

iconStroke?: string

Optional iconStrokeColors

Section titled "iconStrokeColors"

Gets or sets the icon stroke colors.

iconStrokeColors?: string | string[]

Optional iconStrokeWidth

Section titled "iconStrokeWidth"

Gets or sets the icon viewbox width.

iconStrokeWidth?: string | number

Optional iconViewBoxHeight

Section titled "iconViewBoxHeight"

Gets or sets the icon viewbox height.

iconViewBoxHeight?: string | number

Optional iconViewBoxLeft

Section titled "iconViewBoxLeft"

Gets or sets the icon viewbox left.

iconViewBoxLeft?: string | number

Optional iconViewBoxTop

Section titled "iconViewBoxTop"

Gets or sets the icon viewbox top.

iconViewBoxTop?: string | number

Optional iconViewBoxWidth

Section titled "iconViewBoxWidth"

Gets or sets the icon viewbox width.

iconViewBoxWidth?: string | number

Optional iconWidth

Section titled "iconWidth"

Gets or sets the width of the icon.

iconWidth?: string | number

Optional isDisabled

Section titled "isDisabled"
isDisabled?: string | boolean

Optional isHighlighted

Section titled "isHighlighted"
isHighlighted?: string | boolean
name?: string

Optional onCommand

Section titled "onCommand"
onCommand?: object

Optional overlayId

Section titled "overlayId"

Sets to the Id of the action that this action will overlay itself on to. The purpose of this property is to allow users to override actions automatically generated by toolbar targets such as the DataChart. These generated actions all have unique Ids associated with them that can be used for the OverlayId. These overlaid actions will not replace the generated one but will have its properties overlaid onto the generated actions.

overlayId?: string

Optional paddingBottom

Section titled "paddingBottom"
paddingBottom?: string | number

Optional paddingLeft

Section titled "paddingLeft"
paddingLeft?: string | number

Optional paddingRight

Section titled "paddingRight"
paddingRight?: string | number

Optional paddingTop

Section titled "paddingTop"
paddingTop?: string | number

Optional parentId

Section titled "parentId"
parentId?: string

Optional performed

Section titled "performed"
performed?: object

Optional subPanelRowHeight

Section titled "subPanelRowHeight"

Gets or sets the height to use for the sub panel if different than default

subPanelRowHeight?: string | number

Optional subtitle

Section titled "subtitle"

Gets or sets the subtitle of the tool.

subtitle?: string

Optional subtitleTextColor

Section titled "subtitleTextColor"

Gets or sets the label text color.

subtitleTextColor?: string

Optional subtitleTextStyle

Section titled "subtitleTextStyle"

Gets or sets the font to use.

subtitleTextStyle?: string

Optional textColor

Section titled "textColor"

Gets or sets the label text color.

textColor?: string

Optional textStyle

Section titled "textStyle"

Gets or sets the font to use.

textStyle?: string

Gets or sets the title of the tool.

title?: string

Optional titleHorizontalAlignment

Section titled "titleHorizontalAlignment"

Gets or sets the title horizontal alignment.

titleHorizontalAlignment?: any

Optional visibility

Section titled "visibility"

Gets or sets the tool action visibility.

visibility?: any

Gets or sets the width to use for this tool action.

width?: string | number