Padding
Represents the padding values around an element in a layout.
Definition
Namespace:Telerik.Windows.Documents.Layout
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
[TypeConverter(typeof(PaddingConverter))]
public struct Padding
Constructors
Fields
Properties
Represents the padding applied to all sides of a layout element.
public int All { get; set; }
Gets or sets the bottom padding value of the layout element.
public int Bottom { get; set; }
Gets or sets the horizontal padding value.
[Browsable(false)]
public int Horizontal { get; }
Gets or sets the right padding value of the layout element.
public int Right { get; set; }
Size
Size
Represents the size of padding, defined by its width and height in the Telerik UI framework.
[Browsable(false)]
public Size Size { get; }
Methods
Combines two Padding instances into a single Padding instance by adding their respective values.
Determines whether the specified object is equal to the current Padding instance.
Gets the hash code for the current instance of the Padding class.
public override int GetHashCode()
A hash code that is generated based on the properties of the Padding instance.
Overrides:
Subtracts the specified Padding values and returns the resulting Padding.