Bagikan melalui


ShellItem.Implicit Operator

Definition

Overloads

Implicit(ShellContent to ShellItem)
Implicit(MenuItem to ShellItem)
Implicit(TemplatedPage to ShellItem)
Implicit(ShellSection to ShellItem)

Implicit(ShellContent to ShellItem)

Source:
ShellItem.cs
Source:
ShellItem.cs
public:
 static operator Microsoft::Maui::Controls::ShellItem ^(Microsoft::Maui::Controls::ShellContent ^ shellContent);
public static implicit operator Microsoft.Maui.Controls.ShellItem (Microsoft.Maui.Controls.ShellContent shellContent);
static member op_Implicit : Microsoft.Maui.Controls.ShellContent -> Microsoft.Maui.Controls.ShellItem
Public Shared Widening Operator CType (shellContent As ShellContent) As ShellItem

Parameters

shellContent
ShellContent

Returns

Applies to

Implicit(MenuItem to ShellItem)

Source:
ShellItem.cs
Source:
ShellItem.cs
public:
 static operator Microsoft::Maui::Controls::ShellItem ^(Microsoft::Maui::Controls::MenuItem ^ menuItem);
public static implicit operator Microsoft.Maui.Controls.ShellItem (Microsoft.Maui.Controls.MenuItem menuItem);
static member op_Implicit : Microsoft.Maui.Controls.MenuItem -> Microsoft.Maui.Controls.ShellItem
Public Shared Widening Operator CType (menuItem As MenuItem) As ShellItem

Parameters

menuItem
MenuItem

Returns

Applies to

Implicit(TemplatedPage to ShellItem)

Source:
ShellItem.cs
Source:
ShellItem.cs
public:
 static operator Microsoft::Maui::Controls::ShellItem ^(Microsoft::Maui::Controls::TemplatedPage ^ page);
public static implicit operator Microsoft.Maui.Controls.ShellItem (Microsoft.Maui.Controls.TemplatedPage page);
static member op_Implicit : Microsoft.Maui.Controls.TemplatedPage -> Microsoft.Maui.Controls.ShellItem
Public Shared Widening Operator CType (page As TemplatedPage) As ShellItem

Parameters

Returns

Applies to

Implicit(ShellSection to ShellItem)

Source:
ShellItem.cs
Source:
ShellItem.cs
public:
 static operator Microsoft::Maui::Controls::ShellItem ^(Microsoft::Maui::Controls::ShellSection ^ shellSection);
public static implicit operator Microsoft.Maui.Controls.ShellItem (Microsoft.Maui.Controls.ShellSection shellSection);
static member op_Implicit : Microsoft.Maui.Controls.ShellSection -> Microsoft.Maui.Controls.ShellItem
Public Shared Widening Operator CType (shellSection As ShellSection) As ShellItem

Parameters

shellSection
ShellSection

Returns

Applies to