Padding class

Represents padding values for left and right sides, and provides methods to generate padding strings.

public class Padding

Public Members

name description
Padding(…) Initializes a new instance of the Padding class with the same padding value for both left and right sides. (2 constructors)
Left { get; set; } Gets or sets the padding value for the left side.
Right { get; set; } Gets or sets the padding value for the right side.
LeftString() Returns a string consisting of spaces for the left padding.
RightString() Returns a string consisting of spaces for the right padding.

See Also