次の方法で共有


Thickness.Implicit Operator

Definition

Overloads

Implicit(Size to Thickness)
Implicit(Double to Thickness)

Implicit(Size to Thickness)

Source:
Thickness.cs
Source:
Thickness.cs
public:
 static operator Microsoft::Maui::Thickness(Microsoft::Maui::Graphics::Size size);
public static implicit operator Microsoft.Maui.Thickness (Microsoft.Maui.Graphics.Size size);
static member op_Implicit : Microsoft.Maui.Graphics.Size -> Microsoft.Maui.Thickness
Public Shared Widening Operator CType (size As Size) As Thickness

Parameters

size
Size

Returns

Applies to

Implicit(Double to Thickness)

Source:
Thickness.cs
Source:
Thickness.cs
public:
 static operator Microsoft::Maui::Thickness(double uniformSize);
public static implicit operator Microsoft.Maui.Thickness (double uniformSize);
static member op_Implicit : double -> Microsoft.Maui.Thickness
Public Shared Widening Operator CType (uniformSize As Double) As Thickness

Parameters

uniformSize
Double

Returns

Applies to