NMargins Structure Members
In This Topic
The following tables list the members exposed by NMargins.
Public Constructors
Public Fields
Public Properties
| Name | Description |
| AllSidesEqual | Returns true if all sides are equal - i.e. Top == Left == Right == Bottom. |
| IsZero | Checks if all components of this margin are zero. |
Top
Public Methods
| Name | Description |
| AccumulateMaxMargin | Stores the maximum values from the specified margins and this margins in this |
| Clamp | Clamps the margins to the specified margins |
| Deserialize | Deserializes the object state from the specified property bag. |
| Equals | Overloaded. Checks whether this size is equal to the other size |
| FlipX | Returns horizontally flipped margins |
| FlipY | Returns vertically flipped margins |
| GetHashCode | |
| GetInnerRect | Returns a the inner rectangle with applied margins from the left, top, right and bottom |
| GetOuterRect | Returns a the outer rectangle with applied margins from the left, top, right and bottom |
| Inflate | Inflates the margins with the specified inflate |
| Max | Gets such margins that: Left= Max(a.Left, b.Left), Right= Max(a.Right, b.Right), Top= Max(a.Top, b.Top), Bottom= Max(a.Bottom, b.Bottom), |
| RotateClockwise | Returns clockwise rotated margins. |
| RotateCounterClockwise | Returns counter-clockwise rotated margins. |
| Round | Rounds this margins. |
| Scale | Scales the margins with the specified scale factor |
| Serialize | Serializes the object state into the specified property bag. |
| ToString | Returns the string representation of this NMarginsF. |
Top
Public Operators
See Also