Hierarchy

Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

  • Parameters

    Returns IgrXButton

Properties

context: any

If using the new style context, re-declare this in your class to be the React.ContextType of your static contextType. Should be used with type annotation or static contextType.

static contextType = MyContext
// For TS pre-3.7:
context!: React.ContextType<typeof MyContext>
// For TS 3.7 and above:
declare context: React.ContextType<typeof MyContext>
props: Readonly<IIgrXButtonProps> & Readonly<{
    children?: ReactNode;
}>
refs: {
    [key: string]: ReactInstance;
}

Type declaration

  • [key: string]: ReactInstance
state: Readonly<{}>
contextType?: Context<any>

If set, this.context will be set at runtime to the current value of the given Context.

Usage:

type MyContext = number
const Ctx = React.createContext<MyContext>(0)

class Foo extends React.Component {
static contextType = Ctx
context!: React.ContextType<typeof Ctx>
render () {
return <>My context's value: {this.context}</>;
}
}

Accessors

  • get actualAmbientShadowColor(): string
  • Gets or sets the color to use for the check mark when the checkbox is checked.

    Returns string

  • set actualAmbientShadowColor(v): void
  • Parameters

    • v: string

    Returns void

  • get actualBackgroundColor(): string
  • Gets the color to use for the actual background.

    Returns string

  • set actualBackgroundColor(v): void
  • Parameters

    • v: string

    Returns void

  • get actualBorderColor(): string
  • Gets or sets the color to use for the check mark when the checkbox is checked.

    Returns string

  • set actualBorderColor(v): void
  • Parameters

    • v: string

    Returns void

  • get actualBorderWidth(): number
  • Gets or sets the Width to use for the check mark when the checkbox is checked.

    Returns number

  • set actualBorderWidth(v): void
  • Parameters

    • v: number

    Returns void

  • get actualCornerRadiusBottomLeft(): number
  • Returns number

  • set actualCornerRadiusBottomLeft(v): void
  • Parameters

    • v: number

    Returns void

  • get actualCornerRadiusBottomRight(): number
  • Returns number

  • set actualCornerRadiusBottomRight(v): void
  • Parameters

    • v: number

    Returns void

  • get actualCornerRadiusTopLeft(): number
  • Returns number

  • set actualCornerRadiusTopLeft(v): void
  • Parameters

    • v: number

    Returns void

  • get actualCornerRadiusTopRight(): number
  • Returns number

  • set actualCornerRadiusTopRight(v): void
  • Parameters

    • v: number

    Returns void

  • get actualDensity(): ControlDisplayDensity
  • Gets the actual display density to use for the label.

    Returns ControlDisplayDensity

  • set actualDensity(v): void
  • Parameters

    • v: ControlDisplayDensity

    Returns void

  • get actualDisableRipple(): boolean
  • Gets whether to actually disable the ripple effect for the button.

    Returns boolean

  • set actualDisableRipple(v): void
  • Parameters

    • v: boolean

    Returns void

  • get actualDisabledBackgroundColor(): string
  • Gets the actual color to use for the disabled background of the button.

    Returns string

  • set actualDisabledBackgroundColor(v): void
  • Parameters

    • v: string

    Returns void

  • get actualDisabledBorderColor(): string
  • Gets the actual color to use for the disabled border of the button.

    Returns string

  • set actualDisabledBorderColor(v): void
  • Parameters

    • v: string

    Returns void

  • get actualDisabledElevation(): number
  • Gets the actual disabled elevation to use for the button.

    Returns number

  • set actualDisabledElevation(v): void
  • Parameters

    • v: number

    Returns void

  • get actualDisabledTextColor(): string
  • Gets the actual color to use for the disabled text of the button.

    Returns string

  • set actualDisabledTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get actualElevationMode(): ElevationMode
  • Gets the actual disabled elevation to use for the button.

    Returns ElevationMode

  • set actualElevationMode(v): void
  • Parameters

    • v: ElevationMode

    Returns void

  • get actualFocusBackgroundColor(): string
  • Gets the color to use for the actual background.

    Returns string

  • set actualFocusBackgroundColor(v): void
  • Parameters

    • v: string

    Returns void

  • get actualFocusElevation(): number
  • Gets or sets the color to use for the check mark when the checkbox is checked.

    Returns number

  • set actualFocusElevation(v): void
  • Parameters

    • v: number

    Returns void

  • get actualFocusTextColor(): string
  • Gets the actual color to use for the focused text.

    Returns string

  • set actualFocusTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get actualHoverBackgroundColor(): string
  • Gets the hover color to use for the actual background.

    Returns string

  • set actualHoverBackgroundColor(v): void
  • Parameters

    • v: string

    Returns void

  • get actualHoverElevation(): number
  • Gets or sets the color to use for the check mark when the checkbox is checked.

    Returns number

  • set actualHoverElevation(v): void
  • Parameters

    • v: number

    Returns void

  • get actualHoverTextColor(): string
  • Gets the color to use for the actual background.

    Returns string

  • set actualHoverTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get actualPenumbraShadowColor(): string
  • Gets or sets the color to use for the check mark when the checkbox is checked.

    Returns string

  • set actualPenumbraShadowColor(v): void
  • Parameters

    • v: string

    Returns void

  • get actualRestingElevation(): number
  • Gets or sets the color to use for the check mark when the checkbox is checked.

    Returns number

  • set actualRestingElevation(v): void
  • Parameters

    • v: number

    Returns void

  • get actualRippleColor(): string
  • Gets or sets the color to use for the ripple when the button is pressed.

    Returns string

  • set actualRippleColor(v): void
  • Parameters

    • v: string

    Returns void

  • get actualTextColor(): string
  • Gets the color to use for the actual background.

    Returns string

  • set actualTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get actualUmbraShadowColor(): string
  • Gets or sets the color to use for the check mark when the checkbox is checked.

    Returns string

  • set actualUmbraShadowColor(v): void
  • Parameters

    • v: string

    Returns void

  • get alignItems(): string
  • Gets or sets the id to use for the checkbox.

    Returns string

  • set alignItems(v): void
  • Parameters

    • v: string

    Returns void

  • get ariaLabel(): string
  • Gets or sets the value of the aria-label attribute.

    Returns string

  • set ariaLabel(v): void
  • Parameters

    • v: string

    Returns void

  • get backgroundColor(): string
  • Gets or sets the color to use for the background when the button regardless of type.

    Returns string

  • set backgroundColor(v): void
  • Parameters

    • v: string

    Returns void

  • get baseTheme(): BaseControlTheme
  • Gets or sets the base built in theme to use for the button.

    Returns BaseControlTheme

  • set baseTheme(v): void
  • Parameters

    • v: BaseControlTheme

    Returns void

  • get borderColor(): string
  • Gets or sets the border color to use for the button regardless of type.

    Returns string

  • set borderColor(v): void
  • Parameters

    • v: string

    Returns void

  • get borderWidth(): number
  • Gets or sets the width to use for the button border regardless of type.

    Returns number

  • set borderWidth(v): void
  • Parameters

    • v: number

    Returns void

  • get clickTunneling(): boolean
  • Gets or sets if clicking on the button is allowed to tunnel down to button content.

    Returns boolean

  • set clickTunneling(v): void
  • Parameters

    • v: boolean

    Returns void

  • get clicked(): ((s, e) => void)
  • Returns ((s, e) => void)

  • set clicked(ev): void
  • Parameters

    Returns void

  • get contentPaddingBottom(): number
  • Gets or sets the bottom padding for the button content.

    Returns number

  • set contentPaddingBottom(v): void
  • Parameters

    • v: number

    Returns void

  • get contentPaddingLeft(): number
  • Gets or sets the left padding for the button content.

    Returns number

  • set contentPaddingLeft(v): void
  • Parameters

    • v: number

    Returns void

  • get contentPaddingRight(): number
  • Gets or sets the right padding for the button content.

    Returns number

  • set contentPaddingRight(v): void
  • Parameters

    • v: number

    Returns void

  • get contentPaddingTop(): number
  • Gets or sets the top padding for the button content.

    Returns number

  • set contentPaddingTop(v): void
  • Parameters

    • v: number

    Returns void

  • get cornerRadiusBottomLeft(): number
  • Returns number

  • set cornerRadiusBottomLeft(v): void
  • Parameters

    • v: number

    Returns void

  • get cornerRadiusBottomRight(): number
  • Returns number

  • set cornerRadiusBottomRight(v): void
  • Parameters

    • v: number

    Returns void

  • get cornerRadiusTopLeft(): number
  • Returns number

  • set cornerRadiusTopLeft(v): void
  • Parameters

    • v: number

    Returns void

  • get cornerRadiusTopRight(): number
  • Returns number

  • set cornerRadiusTopRight(v): void
  • Parameters

    • v: number

    Returns void

  • get density(): ControlDisplayDensity
  • Gets or sets the display density to use for the button.

    Returns ControlDisplayDensity

  • set density(v): void
  • Parameters

    • v: ControlDisplayDensity

    Returns void

  • get disableHover(): boolean
  • Gets or sets whether the hover effect is disabled.

    Returns boolean

  • set disableHover(v): void
  • Parameters

    • v: boolean

    Returns void

  • get disablePointer(): boolean
  • Gets or sets whether the cursor will change into a pointer when the button is hovered.

    Returns boolean

  • set disablePointer(v): void
  • Parameters

    • v: boolean

    Returns void

  • get disableRipple(): boolean
  • Gets or sets whether to disable the ripple effect for the button.

    Returns boolean

  • set disableRipple(v): void
  • Parameters

    • v: boolean

    Returns void

  • get disableTransitions(): boolean
  • Gets or sets whether the checkbox transitions are disabled.

    Returns boolean

  • set disableTransitions(v): void
  • Parameters

    • v: boolean

    Returns void

  • get disabled(): boolean
  • Gets or sets whether the checkbox is disabled.

    Returns boolean

  • set disabled(v): void
  • Parameters

    • v: boolean

    Returns void

  • get disabledBackgroundColor(): string
  • Gets or sets the color to use for the disabled background of the button when the type is disabled.

    Returns string

  • set disabledBackgroundColor(v): void
  • Parameters

    • v: string

    Returns void

  • get disabledBorderColor(): string
  • Gets or sets the color to use for the disabled border of the button when the type is raised.

    Returns string

  • set disabledBorderColor(v): void
  • Parameters

    • v: string

    Returns void

  • get disabledElevation(): number
  • Gets or sets the disabled elevation to use for the button when the type is raised.

    Returns number

  • set disabledElevation(v): void
  • Parameters

    • v: number

    Returns void

  • get disabledTextColor(): string
  • Gets or sets the color to use for the disabled text of the button when the type is raised.

    Returns string

  • set disabledTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get display(): string
  • Gets or sets the id to use for the checkbox.

    Returns string

  • set display(v): void
  • Parameters

    • v: string

    Returns void

  • get displayType(): ButtonDisplayStyle
  • Gets or sets the display style to use for the button.

    Returns ButtonDisplayStyle

  • set displayType(v): void
  • Parameters

    • v: ButtonDisplayStyle

    Returns void

  • get elevationMode(): ElevationMode
  • Gets or sets the disabled elevation to use for the button when the type is raised.

    Returns ElevationMode

  • set elevationMode(v): void
  • Parameters

    • v: ElevationMode

    Returns void

  • get fabBackgroundColor(): string
  • Gets or sets the color to use for the background of the button when the type is floating action button.

    Returns string

  • set fabBackgroundColor(v): void
  • Parameters

    • v: string

    Returns void

  • get fabBorderColor(): string
  • Gets or sets the border color to use for the button when the type is floating action button.

    Returns string

  • set fabBorderColor(v): void
  • Parameters

    • v: string

    Returns void

  • get fabBorderWidth(): number
  • Gets or sets the width to use for the button border when the type is floating action button.

    Returns number

  • set fabBorderWidth(v): void
  • Parameters

    • v: number

    Returns void

  • get fabCornerRadiusBottomLeft(): number
  • Returns number

  • set fabCornerRadiusBottomLeft(v): void
  • Parameters

    • v: number

    Returns void

  • get fabCornerRadiusBottomRight(): number
  • Returns number

  • set fabCornerRadiusBottomRight(v): void
  • Parameters

    • v: number

    Returns void

  • get fabCornerRadiusTopLeft(): number
  • Returns number

  • set fabCornerRadiusTopLeft(v): void
  • Parameters

    • v: number

    Returns void

  • get fabCornerRadiusTopRight(): number
  • Returns number

  • set fabCornerRadiusTopRight(v): void
  • Parameters

    • v: number

    Returns void

  • get fabDisabledBackgroundColor(): string
  • Gets or sets the color to use for the disabled background of the button when the type is fab.

    Returns string

  • set fabDisabledBackgroundColor(v): void
  • Parameters

    • v: string

    Returns void

  • get fabDisabledBorderColor(): string
  • Gets or sets the color to use for the disabled border of the button when the type is fab.

    Returns string

  • set fabDisabledBorderColor(v): void
  • Parameters

    • v: string

    Returns void

  • get fabDisabledElevation(): number
  • Gets or sets the disabled elevation to use for the button when the type is fab.

    Returns number

  • set fabDisabledElevation(v): void
  • Parameters

    • v: number

    Returns void

  • get fabDisabledTextColor(): string
  • Gets or sets the color to use for the disabled text of the button when the type is fab.

    Returns string

  • set fabDisabledTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get fabFocusBackgroundColor(): string
  • Gets or sets the color to use for the backround the button when it is focused and fab.

    Returns string

  • set fabFocusBackgroundColor(v): void
  • Parameters

    • v: string

    Returns void

  • get fabFocusElevation(): number
  • Gets or sets the focus elevation to use for the button when the type is floating action button.

    Returns number

  • set fabFocusElevation(v): void
  • Parameters

    • v: number

    Returns void

  • get fabFocusTextColor(): string
  • Gets or sets the color to use for the text the button when it is focused and fab.

    Returns string

  • set fabFocusTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get fabHoverBackgroundColor(): string
  • Gets or sets the hover color to use for the background of the button when the type is hoveredFab.

    Returns string

  • set fabHoverBackgroundColor(v): void
  • Parameters

    • v: string

    Returns void

  • get fabHoverElevation(): number
  • Gets or sets the hover elevation to use for the button when the type is floating action button.

    Returns number

  • set fabHoverElevation(v): void
  • Parameters

    • v: number

    Returns void

  • get fabHoverTextColor(): string
  • Gets or sets the color to use for the hovered text of the button when type is floating action button.

    Returns string

  • set fabHoverTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get fabRestingElevation(): number
  • Gets or sets the elevation to use for the button when the type is floating action button.

    Returns number

  • set fabRestingElevation(v): void
  • Parameters

    • v: number

    Returns void

  • get fabRippleColor(): string
  • Gets or sets the color to use for the background when the button is pressed and the type is floating action button.

    Returns string

  • set fabRippleColor(v): void
  • Parameters

    • v: string

    Returns void

  • get fabTextColor(): string
  • Gets or sets the color to use for the text of the button when type is floating action button.

    Returns string

  • set fabTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get fillAvailableSpace(): boolean
  • Gets or sets whether the button should fill the available space. If false, the button will use an intrinsic size.

    Returns boolean

  • set fillAvailableSpace(v): void
  • Parameters

    • v: boolean

    Returns void

  • get flatBackgroundColor(): string
  • Gets or sets the color to use for the background of the button when the type is flat.

    Returns string

  • set flatBackgroundColor(v): void
  • Parameters

    • v: string

    Returns void

  • get flatBorderColor(): string
  • Gets or sets the border color to use for the button when the type is flat.

    Returns string

  • set flatBorderColor(v): void
  • Parameters

    • v: string

    Returns void

  • get flatBorderWidth(): number
  • Gets or sets the width to use for the button border when the type is flat.

    Returns number

  • set flatBorderWidth(v): void
  • Parameters

    • v: number

    Returns void

  • get flatCornerRadiusBottomLeft(): number
  • Returns number

  • set flatCornerRadiusBottomLeft(v): void
  • Parameters

    • v: number

    Returns void

  • get flatCornerRadiusBottomRight(): number
  • Returns number

  • set flatCornerRadiusBottomRight(v): void
  • Parameters

    • v: number

    Returns void

  • get flatCornerRadiusTopLeft(): number
  • Returns number

  • set flatCornerRadiusTopLeft(v): void
  • Parameters

    • v: number

    Returns void

  • get flatCornerRadiusTopRight(): number
  • Returns number

  • set flatCornerRadiusTopRight(v): void
  • Parameters

    • v: number

    Returns void

  • get flatDisabledBackgroundColor(): string
  • Gets or sets the color to use for the disabled background of the button when the type is flat.

    Returns string

  • set flatDisabledBackgroundColor(v): void
  • Parameters

    • v: string

    Returns void

  • get flatDisabledBorderColor(): string
  • Gets or sets the color to use for the disabled border of the button when the type is flat.

    Returns string

  • set flatDisabledBorderColor(v): void
  • Parameters

    • v: string

    Returns void

  • get flatDisabledElevation(): number
  • Gets or sets the disabled elevation to use for the button when the type is flat.

    Returns number

  • set flatDisabledElevation(v): void
  • Parameters

    • v: number

    Returns void

  • get flatDisabledTextColor(): string
  • Gets or sets the color to use for the disabled text of the button when the type is flat.

    Returns string

  • set flatDisabledTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get flatFocusBackgroundColor(): string
  • Gets or sets the color to use for the backround the button when it is focused and flat.

    Returns string

  • set flatFocusBackgroundColor(v): void
  • Parameters

    • v: string

    Returns void

  • get flatFocusElevation(): number
  • Gets or sets the focus elevation to use for the button when the type is flat.

    Returns number

  • set flatFocusElevation(v): void
  • Parameters

    • v: number

    Returns void

  • get flatFocusTextColor(): string
  • Gets or sets the color to use for the text the button when it is focused and flat.

    Returns string

  • set flatFocusTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get flatHoverBackgroundColor(): string
  • Gets or sets the hover color to use for the background of the button when the type is flat.

    Returns string

  • set flatHoverBackgroundColor(v): void
  • Parameters

    • v: string

    Returns void

  • get flatHoverElevation(): number
  • Gets or sets the hover elevation to use for the button when the type is flat.

    Returns number

  • set flatHoverElevation(v): void
  • Parameters

    • v: number

    Returns void

  • get flatHoverTextColor(): string
  • Gets or sets the color to use for the hovered text of the button when type is flat.

    Returns string

  • set flatHoverTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get flatRestingElevation(): number
  • Gets or sets the elevation to use for the button when the type is flat.

    Returns number

  • set flatRestingElevation(v): void
  • Parameters

    • v: number

    Returns void

  • get flatRippleColor(): string
  • Gets or sets the color to use for the background when the button is pressed and the type is floating action button.

    Returns string

  • set flatRippleColor(v): void
  • Parameters

    • v: string

    Returns void

  • get flatTextColor(): string
  • Gets or sets the color to use for the text of the button when type is flat.

    Returns string

  • set flatTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get flexDirection(): string
  • Gets or sets the id to use for the checkbox.

    Returns string

  • set flexDirection(v): void
  • Parameters

    • v: string

    Returns void

  • get flexGrow(): string
  • Gets or sets the flex-grow setting for the button.

    Returns string

  • set flexGrow(v): void
  • Parameters

    • v: string

    Returns void

  • get focusBackgroundColor(): string
  • Gets or sets the color to use for the backround the button when it is focused.

    Returns string

  • set focusBackgroundColor(v): void
  • Parameters

    • v: string

    Returns void

  • get focusElevation(): number
  • Gets or sets the focus elevation to use for the button regardless of type.

    Returns number

  • set focusElevation(v): void
  • Parameters

    • v: number

    Returns void

  • get focusTextColor(): string
  • Gets or sets the color to use for the text of the button when it is focused.

    Returns string

  • set focusTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get focused(): boolean
  • Gets or sets if the checkbox is Focused.

    Returns boolean

  • set focused(v): void
  • Parameters

    • v: boolean

    Returns void

  • get gotFocus(): ((s, e) => void)
  • Returns ((s, e) => void)

      • (s, e): void
      • Parameters

        Returns void

  • set gotFocus(ev): void
  • Parameters

    • ev: ((s, e) => void)
        • (s, e): void
        • Parameters

          Returns void

    Returns void

  • get horizontalContentAlignment(): HorizontalAlignment
  • Returns HorizontalAlignment

  • set horizontalContentAlignment(v): void
  • Parameters

    • v: HorizontalAlignment

    Returns void

  • get hoverBackgroundColor(): string
  • Gets or sets the hover color to use for the background of the button when the type is hovered.

    Returns string

  • set hoverBackgroundColor(v): void
  • Parameters

    • v: string

    Returns void

  • get hoverElevation(): number
  • Gets or sets the hover elevation to use for the button regardless of type.

    Returns number

  • set hoverElevation(v): void
  • Parameters

    • v: number

    Returns void

  • get hoverTextColor(): string
  • Gets or sets the color to use for the hovered text of the button regardless of type.

    Returns string

  • set hoverTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get iconBackgroundColor(): string
  • Gets or sets the color to use for the background of the button when the type is icon.

    Returns string

  • set iconBackgroundColor(v): void
  • Parameters

    • v: string

    Returns void

  • get iconBorderColor(): string
  • Gets or sets the border color to use for the button when the type is icon.

    Returns string

  • set iconBorderColor(v): void
  • Parameters

    • v: string

    Returns void

  • get iconBorderWidth(): number
  • Gets or sets the width to use for the button border when the type is icon.

    Returns number

  • set iconBorderWidth(v): void
  • Parameters

    • v: number

    Returns void

  • get iconCornerRadiusBottomLeft(): number
  • Returns number

  • set iconCornerRadiusBottomLeft(v): void
  • Parameters

    • v: number

    Returns void

  • get iconCornerRadiusBottomRight(): number
  • Returns number

  • set iconCornerRadiusBottomRight(v): void
  • Parameters

    • v: number

    Returns void

  • get iconCornerRadiusTopLeft(): number
  • Returns number

  • set iconCornerRadiusTopLeft(v): void
  • Parameters

    • v: number

    Returns void

  • get iconCornerRadiusTopRight(): number
  • Returns number

  • set iconCornerRadiusTopRight(v): void
  • Parameters

    • v: number

    Returns void

  • get iconDisabledBackgroundColor(): string
  • Gets or sets the color to use for the disabled background of the button when the type is icon.

    Returns string

  • set iconDisabledBackgroundColor(v): void
  • Parameters

    • v: string

    Returns void

  • get iconDisabledBorderColor(): string
  • Gets or sets the color to use for the disabled border of the button when the type is icon.

    Returns string

  • set iconDisabledBorderColor(v): void
  • Parameters

    • v: string

    Returns void

  • get iconDisabledElevation(): number
  • Gets or sets the disabled elevation to use for the button when the type is icon.

    Returns number

  • set iconDisabledElevation(v): void
  • Parameters

    • v: number

    Returns void

  • get iconDisabledTextColor(): string
  • Gets or sets the color to use for the disabled text of the button when the type is icon.

    Returns string

  • set iconDisabledTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get iconFocusBackgroundColor(): string
  • Gets or sets the color to use for the backround the button when it is focused and icon.

    Returns string

  • set iconFocusBackgroundColor(v): void
  • Parameters

    • v: string

    Returns void

  • get iconFocusElevation(): number
  • Gets or sets the focus elevation to use for the button when the type is icon.

    Returns number

  • set iconFocusElevation(v): void
  • Parameters

    • v: number

    Returns void

  • get iconFocusTextColor(): string
  • Gets or sets the color to use for the text the button when it is focused and icon.

    Returns string

  • set iconFocusTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get iconHoverBackgroundColor(): string
  • Gets or sets the hover color to use for the background of the button when the type is hoveredIcon.

    Returns string

  • set iconHoverBackgroundColor(v): void
  • Parameters

    • v: string

    Returns void

  • get iconHoverElevation(): number
  • Gets or sets the hover elevation to use for the button when the type is icon.

    Returns number

  • set iconHoverElevation(v): void
  • Parameters

    • v: number

    Returns void

  • get iconHoverTextColor(): string
  • Gets or sets the color to use for the hovered text of the button when type is icon.

    Returns string

  • set iconHoverTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get iconRestingElevation(): number
  • Gets or sets the elevation to use for the button when the type is icon.

    Returns number

  • set iconRestingElevation(v): void
  • Parameters

    • v: number

    Returns void

  • get iconRippleColor(): string
  • Gets or sets the color to use for the background when the button is pressed and the type is floating action button.

    Returns string

  • set iconRippleColor(v): void
  • Parameters

    • v: string

    Returns void

  • get iconTextColor(): string
  • Gets or sets the color to use for the text of the button when type is icon.

    Returns string

  • set iconTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get id(): string
  • Gets or sets the id to use for the checkbox.

    Returns string

  • set id(v): void
  • Parameters

    • v: string

    Returns void

  • get inputId(): string
  • Gets or sets the id to use for the internal native checkbox.

    Returns string

  • set inputId(v): void
  • Parameters

    • v: string

    Returns void

  • get isFocusStyleEnabled(): boolean
  • Gets or sets if the button show use styling to show focus.

    Returns boolean

  • set isFocusStyleEnabled(v): void
  • Parameters

    • v: boolean

    Returns void

  • get isHover(): boolean
  • Gets or sets whether the checkbox is checked.

    Returns boolean

  • set isHover(v): void
  • Parameters

    • v: boolean

    Returns void

  • get lostFocus(): ((s, e) => void)
  • Returns ((s, e) => void)

      • (s, e): void
      • Parameters

        Returns void

  • set lostFocus(ev): void
  • Parameters

    • ev: ((s, e) => void)
        • (s, e): void
        • Parameters

          Returns void

    Returns void

  • get minHeight(): number
  • Gets or sets the min height to use for the button.

    Returns number

  • set minHeight(v): void
  • Parameters

    • v: number

    Returns void

  • get minWidth(): number
  • Gets or sets the min width to use for the button.

    Returns number

  • set minWidth(v): void
  • Parameters

    • v: number

    Returns void

  • get name(): string
  • Gets or sets name to use for the button.

    Returns string

  • set name(v): void
  • Parameters

    • v: string

    Returns void

  • get nativeElement(): HTMLElement
  • Returns HTMLElement

  • get outlinedBackgroundColor(): string
  • Gets or sets the color to use for the background of the button when the type is outlined.

    Returns string

  • set outlinedBackgroundColor(v): void
  • Parameters

    • v: string

    Returns void

  • get outlinedBorderColor(): string
  • Gets or sets the border color to use for the button when the type is outlined.

    Returns string

  • set outlinedBorderColor(v): void
  • Parameters

    • v: string

    Returns void

  • get outlinedBorderWidth(): number
  • Gets or sets the width to use for the button border when the type is outlined.

    Returns number

  • set outlinedBorderWidth(v): void
  • Parameters

    • v: number

    Returns void

  • get outlinedCornerRadiusBottomLeft(): number
  • Returns number

  • set outlinedCornerRadiusBottomLeft(v): void
  • Parameters

    • v: number

    Returns void

  • get outlinedCornerRadiusBottomRight(): number
  • Returns number

  • set outlinedCornerRadiusBottomRight(v): void
  • Parameters

    • v: number

    Returns void

  • get outlinedCornerRadiusTopLeft(): number
  • Returns number

  • set outlinedCornerRadiusTopLeft(v): void
  • Parameters

    • v: number

    Returns void

  • get outlinedCornerRadiusTopRight(): number
  • Returns number

  • set outlinedCornerRadiusTopRight(v): void
  • Parameters

    • v: number

    Returns void

  • get outlinedDisabledBackgroundColor(): string
  • Gets or sets the color to use for the disabled background of the button when the type is outlined.

    Returns string

  • set outlinedDisabledBackgroundColor(v): void
  • Parameters

    • v: string

    Returns void

  • get outlinedDisabledBorderColor(): string
  • Gets or sets the color to use for the disabled border of the button when the type is outlined.

    Returns string

  • set outlinedDisabledBorderColor(v): void
  • Parameters

    • v: string

    Returns void

  • get outlinedDisabledElevation(): number
  • Gets or sets the disabled elevation to use for the button when the type is outlined.

    Returns number

  • set outlinedDisabledElevation(v): void
  • Parameters

    • v: number

    Returns void

  • get outlinedDisabledTextColor(): string
  • Gets or sets the color to use for the disabled text of the button when the type is outlined.

    Returns string

  • set outlinedDisabledTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get outlinedFocusBackgroundColor(): string
  • Gets or sets the color to use for the backround the button when it is focused and outlined.

    Returns string

  • set outlinedFocusBackgroundColor(v): void
  • Parameters

    • v: string

    Returns void

  • get outlinedFocusElevation(): number
  • Gets or sets the focus elevation to use for the button when the type is outlined.

    Returns number

  • set outlinedFocusElevation(v): void
  • Parameters

    • v: number

    Returns void

  • get outlinedFocusTextColor(): string
  • Gets or sets the color to use for the text the button when it is focused and outlined.

    Returns string

  • set outlinedFocusTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get outlinedHoverBackgroundColor(): string
  • Gets or sets the hover color to use for the background of the button when the type is hoveredOutlined.

    Returns string

  • set outlinedHoverBackgroundColor(v): void
  • Parameters

    • v: string

    Returns void

  • get outlinedHoverElevation(): number
  • Gets or sets the hover elevation to use for the button when the type is outlined.

    Returns number

  • set outlinedHoverElevation(v): void
  • Parameters

    • v: number

    Returns void

  • get outlinedHoverTextColor(): string
  • Gets or sets the color to use for the hovered text of the button when type is outlined.

    Returns string

  • set outlinedHoverTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get outlinedRestingElevation(): number
  • Gets or sets the elevation to use for the button when the type is outlined.

    Returns number

  • set outlinedRestingElevation(v): void
  • Parameters

    • v: number

    Returns void

  • get outlinedRippleColor(): string
  • Gets or sets the color to use for the background when the button is pressed and the type is floating action button.

    Returns string

  • set outlinedRippleColor(v): void
  • Parameters

    • v: string

    Returns void

  • get outlinedTextColor(): string
  • Gets or sets the color to use for the text of the button when type is outlined.

    Returns string

  • set outlinedTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get raisedBackgroundColor(): string
  • Gets or sets the color to use for the background of the button when the type is raised.

    Returns string

  • set raisedBackgroundColor(v): void
  • Parameters

    • v: string

    Returns void

  • get raisedBorderColor(): string
  • Gets or sets the border color to use for the button when the type is raised.

    Returns string

  • set raisedBorderColor(v): void
  • Parameters

    • v: string

    Returns void

  • get raisedBorderWidth(): number
  • Gets or sets the width to use for the button border when the type is raised.

    Returns number

  • set raisedBorderWidth(v): void
  • Parameters

    • v: number

    Returns void

  • get raisedCornerRadiusBottomLeft(): number
  • Returns number

  • set raisedCornerRadiusBottomLeft(v): void
  • Parameters

    • v: number

    Returns void

  • get raisedCornerRadiusBottomRight(): number
  • Returns number

  • set raisedCornerRadiusBottomRight(v): void
  • Parameters

    • v: number

    Returns void

  • get raisedCornerRadiusTopLeft(): number
  • Returns number

  • set raisedCornerRadiusTopLeft(v): void
  • Parameters

    • v: number

    Returns void

  • get raisedCornerRadiusTopRight(): number
  • Returns number

  • set raisedCornerRadiusTopRight(v): void
  • Parameters

    • v: number

    Returns void

  • get raisedDisabledBackgroundColor(): string
  • Gets or sets the color to use for the disabled background of the button when the type is raised.

    Returns string

  • set raisedDisabledBackgroundColor(v): void
  • Parameters

    • v: string

    Returns void

  • get raisedDisabledBorderColor(): string
  • Gets or sets the color to use for the disabled border of the button when the type is raised.

    Returns string

  • set raisedDisabledBorderColor(v): void
  • Parameters

    • v: string

    Returns void

  • get raisedDisabledElevation(): number
  • Gets or sets the disabled elevation to use for the button when the type is raised.

    Returns number

  • set raisedDisabledElevation(v): void
  • Parameters

    • v: number

    Returns void

  • get raisedDisabledTextColor(): string
  • Gets or sets the color to use for the disabled text of the button when the type is raised.

    Returns string

  • set raisedDisabledTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get raisedFocusBackgroundColor(): string
  • Gets or sets the color to use for the backround the button when it is focused and raised.

    Returns string

  • set raisedFocusBackgroundColor(v): void
  • Parameters

    • v: string

    Returns void

  • get raisedFocusElevation(): number
  • Gets or sets the focus elevation to use for the button when the type is raised.

    Returns number

  • set raisedFocusElevation(v): void
  • Parameters

    • v: number

    Returns void

  • get raisedFocusTextColor(): string
  • Gets or sets the color to use for the text the button when it is focused and raised.

    Returns string

  • set raisedFocusTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get raisedHoverBackgroundColor(): string
  • Gets or sets the hover color to use for the background of the button when the type is raised.

    Returns string

  • set raisedHoverBackgroundColor(v): void
  • Parameters

    • v: string

    Returns void

  • get raisedHoverElevation(): number
  • Gets or sets the hover elevation to use for the button when the type is raised.

    Returns number

  • set raisedHoverElevation(v): void
  • Parameters

    • v: number

    Returns void

  • get raisedHoverTextColor(): string
  • Gets or sets the color to use for the hovered text of the button when type is raised.

    Returns string

  • set raisedHoverTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get raisedRestingElevation(): number
  • Gets or sets the elevation to use for the button when the type is raised.

    Returns number

  • set raisedRestingElevation(v): void
  • Parameters

    • v: number

    Returns void

  • get raisedRippleColor(): string
  • Gets or sets the color to use for the background when the button is pressed and the type is floating action button.

    Returns string

  • set raisedRippleColor(v): void
  • Parameters

    • v: string

    Returns void

  • get raisedTextColor(): string
  • Gets or sets the color to use for the text of the button when type is raised.

    Returns string

  • set raisedTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get restingElevation(): number
  • Gets or sets the elevation to use for the button regardless of type.

    Returns number

  • set restingElevation(v): void
  • Parameters

    • v: number

    Returns void

  • get rippleColor(): string
  • Gets or sets the color to use for the background of the button regardless of type.

    Returns string

  • set rippleColor(v): void
  • Parameters

    • v: string

    Returns void

  • get stopPropagation(): boolean
  • Gets or sets whether mouse events on the button will bubble up to parent elements.

    Returns boolean

  • set stopPropagation(v): void
  • Parameters

    • v: boolean

    Returns void

  • get tabIndex(): number
  • Gets or sets TabIndex to use for the checkbox.

    Returns number

  • set tabIndex(v): void
  • Parameters

    • v: number

    Returns void

  • get textColor(): string
  • Gets or sets the color to use for the text of the button regardless of type.

    Returns string

  • set textColor(v): void
  • Parameters

    • v: string

    Returns void

  • get textStyle(): string
  • Gets or sets the use for the button.

    Returns string

  • set textStyle(v): void
  • Parameters

    • v: string

    Returns void

  • get value(): any
  • Gets or sets value to use for the checkbox.

    Returns any

  • set value(v): void
  • Parameters

    • v: any

    Returns void

  • get verticalContentAlignment(): VerticalAlignment
  • Returns VerticalAlignment

  • set verticalContentAlignment(v): void
  • Parameters

    • v: VerticalAlignment

    Returns void

Methods

  • Catches exceptions generated in descendant components. Unhandled exceptions will cause the entire component tree to unmount.

    Parameters

    • error: Error
    • errorInfo: ErrorInfo

    Returns void

  • Returns void

  • Called immediately after updating occurs. Not called for the initial render.

    The snapshot is only present if getSnapshotBeforeUpdate is present and returns non-null.

    Parameters

    • prevProps: Readonly<IIgrXButtonProps>
    • prevState: Readonly<{}>
    • Optional snapshot: any

    Returns void

  • Returns void

  • Returns void

  • Returns void

  • Returns void

  • Returns void

  • Returns void

  • Returns void

  • Returns void

  • Returns void

  • Returns a serialized copy of the exported visual model

    Returns string

  • Exports visual information about the current state of the grid.

    Returns any

  • Parameters

    • name: string

    Returns any

  • Parameters

    • Optional callback: (() => void)
        • (): void
        • Returns void

    Returns void

  • Runs before React applies the result of render to the document, and returns an object to be given to componentDidUpdate. Useful for saving things such as scroll position before render causes changes to it.

    Note: the presence of getSnapshotBeforeUpdate prevents any of the deprecated lifecycle events from running.

    Parameters

    Returns any

  • Returns void

  • Returns void

  • Returns void

  • Returns DetailedReactHTMLElement<{
        children: any[];
        className: string;
        ref: ((ref) => void);
    }, any>

  • Type parameters

    Type Parameters

    • K extends never

    Parameters

    • state: {} | ((prevState, props) => {} | Pick<{}, K>) | Pick<{}, K>
    • Optional callback: (() => void)
        • (): void
        • Returns void

    Returns void

  • Parameters

    • nextProps: any
    • nextState: any

    Returns boolean

  • Returns void

  • Parameters

    • internal: any

    Returns IgrXButton