Inset Structure
Defines the sides of an inset (left, top, right, and bottom). An inset is used to define the margins or padding around a UI item.
public struct Inset
Public Instance Constructors
Constructor | Description |
Inset | Initializes a new instance of the Inset structure. |
Public Operators
Operator | Description |
Addition Operator | Combines two Inset structures. |
Equality Operator | Tests whether two specified Inset structures are equivalent. |
Inequality Operator | Tests whether two Inset structures are different. |
Subtraction Operator | Subtracts one Inset structure from another. |
Public Static Methods
Method | Description |
Add | Combines two Inset structures. |
Subtract | Subtracts one Inset structure from another. |
Public Instance Methods
Method | Description |
Equals | Tests whether the specified object is an Inset structure and is equivalent to the current Inset structure. |
GetHashCode | Returns a hash code for this structure. |
ToString | Converts this structure to a human-readable string. |
Public Instance Properties
Property | Description |
Bottom | Gets or sets the length of the bottom side of the inset. |
Left | Gets or sets the length of the left side of the inset. |
Right | Gets or sets the length of the right side of the inset. |
Top | Gets or sets the length of the top side of the inset. |
Public Static Fields
Field | Description |
Zero | Represents a zero inset. |
Requirements
Reference: Microsoft.MediaCenter.UI
Namespace: Microsoft.MediaCenter.UI
Assembly: Microsoft.MediaCenter.UI.dll
Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later
See Also