共用方式為


Cell.ContextActions Property

Definition

Gets a list of menu items to display when the user performs the device-specific context gesture on the Cell.

public:
 property System::Collections::Generic::IList<Microsoft::Maui::Controls::MenuItem ^> ^ ContextActions { System::Collections::Generic::IList<Microsoft::Maui::Controls::MenuItem ^> ^ get(); };
public System.Collections.Generic.IList<Microsoft.Maui.Controls.MenuItem> ContextActions { get; }
member this.ContextActions : System.Collections.Generic.IList<Microsoft.Maui.Controls.MenuItem>
Public ReadOnly Property ContextActions As IList(Of MenuItem)

Property Value

The list of menu items that will be displayed when the user performs the device-specific context gesture on the Cell.

Remarks

The context gesture on the iOS platform is a left swipe. For Android and Windows Phone operating systems, the context gesture is a press and hold.

Applies to