[]
Gets or sets the cell padding.
public class CellPadding : ICellPadding
Assign different values to the four properties of cellPadding.
public CellPadding(int top, int right, int bottom, int left)
top
intThe integer value representing the top padding.
right
intThe integer value representing the right padding.
bottom
intThe integer value representing the bottom padding.
left
intThe integer value representing the left padding.
Assign the four properties of cellPadding with the same value
public CellPadding(int all)
all
intThe padding value for all sides.
get bottom cell padding.
public int Bottom { get; }
get left cell padding.
public int Left { get; }
get right cell padding.
public int Right { get; }
get top cell padding.
public int Top { get; }