Share via


Insets Class

Definition

Represents inset distances from the four edges of a rectangle.

public ref class Insets
public class Insets
type Insets = class
Public Class Insets
Inheritance
Insets

Constructors

Insets(Double, Double, Double, Double)

Initializes a new instance of the Insets class with the specified values.

Insets(Insets)

Initializes a new instance of the Insets class by copying values from another instance.

Properties

Bottom

Gets or sets the bottom inset value.

Horizontal

The sum of the left and right insets.

Left

Gets or sets the left inset value.

Right

Gets or sets the right inset value.

Top

Gets or sets the top inset value.

Vertical

The sum of the top and bottom insets.

Methods

AllValuesAreEqualTo(Double)

Determines if all inset values are equal to the specified value.

Equals(Object)

Determines whether the specified object is equal to the current insets.

GetHashCode()

Returns a hash code for this instance.

Parse(String)
ToParsableString()

Converts the insets values to a string representation that can be parsed.

ToString()

Applies to