[]
Represents the dimensions of borders and margins.
[TypeConverter(typeof(ExpandableObjectConverter))]
public class Inset : ISerializeSupport
<TypeConverter(GetType(ExpandableObjectConverter))>
Public Class Inset
Implements ISerializeSupport
Name | Description |
---|---|
Inset() | Creates an empty set of margins (Inset object). |
Inset(int, int, int, int) | Creates a set of margins (Inset object) with the specified values. |
Name | Description |
---|---|
Bottom | Gets or sets the inset of the bottom border or margin in pixels. |
IsEmpty | Determines whether none of the margins are set (whether the values are all zero). |
Left | Gets or sets the inset of the left border or margin in pixels. |
Right | Gets or sets the inset of the right border or margin in pixels. |
Top | Gets or sets the inset of the top border or margin in pixels. |
Name | Description |
---|---|
Deserialize(XmlNodeReader) | Loads the margin settings (Inset object) from XML. |
Equals(Inset) | Determines whether the inset of the current object is the same as the specified object. |
Serialize(XmlTextWriter) | Saves the margin settings (Inset object) to XML. |
ToString() | Returns the name of the Inset object. |