Share via


Insets Constructors

Definition

Overloads

Insets(Insets)

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

Insets(Double, Double, Double, Double)

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

Insets(Insets)

Source:
Insets.cs
Source:
Insets.cs
Source:
Insets.cs

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

public:
 Insets(Microsoft::Maui::Graphics::Insets ^ insets);
public Insets(Microsoft.Maui.Graphics.Insets insets);
new Microsoft.Maui.Graphics.Insets : Microsoft.Maui.Graphics.Insets -> Microsoft.Maui.Graphics.Insets
Public Sub New (insets As Insets)

Parameters

insets
Insets

The insets to copy values from.

Exceptions

Thrown when insets is null.

Applies to

Insets(Double, Double, Double, Double)

Source:
Insets.cs
Source:
Insets.cs
Source:
Insets.cs

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

public:
 Insets(double top, double left, double bottom, double right);
public Insets(double top, double left, double bottom, double right);
new Microsoft.Maui.Graphics.Insets : double * double * double * double -> Microsoft.Maui.Graphics.Insets
Public Sub New (top As Double, left As Double, bottom As Double, right As Double)

Parameters

top
Double

The top inset value.

left
Double

The left inset value.

bottom
Double

The bottom inset value.

right
Double

The right inset value.

Applies to