FlexGrid for WPF | ComponentOne
C1.WPF.FlexGrid.4.6.2 Assembly / C1.WPF.FlexGrid Namespace / CellFactory Class / GetCellPadding Method
C1FlexGrid that owns the cell.
GridPanel that specifies the part of the grid that contains the cell.
CellRange that specifies the row and column represented by the cell.

In This Topic
    GetCellPadding Method
    In This Topic
    Gets a System.Windows.Thickness value that specifies the padding applied between the edge of the cell and its content area.
    Syntax
    'Declaration
     
    Public Overridable Function GetCellPadding( _
       ByVal grid As C1FlexGrid, _
       ByVal panel As GridPanel, _
       ByVal rng As CellRange _
    ) As Thickness
    public virtual Thickness GetCellPadding( 
       C1FlexGrid grid,
       GridPanel panel,
       CellRange rng
    )

    Parameters

    grid
    C1FlexGrid that owns the cell.
    panel
    GridPanel that specifies the part of the grid that contains the cell.
    rng
    CellRange that specifies the row and column represented by the cell.

    Return Value

    A System.Windows.Thickness value that specifies the padding applied between the edge of the cell and its content area.
    See Also