ICellOptions

[ Interface ]

export interface ICellOptions {
    rowIndex: number;
    columnIndex: number;
    borderWidth?: TcHmi.FourSidedCss;
    borderStyle?: TcHmi.BorderStyle;
    borderColor?: TcHmi.SolidColor;
    padding?: TcHmi.FourSidedCss;
    backgroundColor?: TcHmi.Color;
    backgroundImage?: string;
    backgroundImagePadding?: TcHmi.FourSidedCss;
    backgroundImageWidth?: number;
    backgroundImageWidthUnit?: TcHmi.DimensionUnit;
    backgroundImageHeight?: number;
    backgroundImageHeightUnit?: TcHmi.DimensionUnit;
    backgroundImageHorizontalAlignment?: TcHmi.HorizontalAlignment;
    backgroundImageVerticalAlignment?: TcHmi.VerticalAlignment;
}

Properties

Name

Type

Description

rowIndex

number

Index of the row for this definition

columnIndex

number

Index of the column for this definition

borderWidth [optional]

TcHmi.FourSidedCss

Border width

borderStyle [optional]

TcHmi.BorderStyle

Border style

borderColor [optional]

TcHmi.SolidColor

Border color

padding [optional]

TcHmi.FourSidedCss

Border inside distance

backgroundColor [optional]

TcHmi.Color

Background color

backgroundImage [optional]

string

Background image

backgroundImagePadding [optional]

TcHmi.FourSidedCss

Padding of the background image

backgroundImageWidth [optional]

number

Numerical value of the width of the background image

backgroundImageWidthUnit [optional]

TcHmi.DimensionUnit

Unit of the width of the background image

backgroundImageHeight [optional]

number

Numerical value of the height of the background image

backgroundImageHeightUnit [optional]

TcHmi.DimensionUnit

Unit of the height of the background image

backgroundImageHorizontalAlignment [optional]

TcHmi.HorizontalAlignment

Horizontal alignment of the background image

backgroundImageVerticalAlignment [optional]

TcHmi.VerticalAlignment

Vertical alignment of the background image

See also

Schema: tchmi:framework#/definitions/TcHmi.Controls.System.TcHmiGrid.CellOptions

ICellOptions 1:

Available from 1.8