共用方式為


ISwipeItemMenuItem Interface

Definition

public interface class ISwipeItemMenuItem : Microsoft::Maui::IMenuElement, Microsoft::Maui::ISwipeItem
public interface ISwipeItemMenuItem : Microsoft.Maui.IMenuElement, Microsoft.Maui.ISwipeItem
type ISwipeItemMenuItem = interface
    interface IMenuElement
    interface IElement
    interface IImageSourcePart
    interface IText
    interface ITextStyle
    interface ISwipeItem
Public Interface ISwipeItemMenuItem
Implements IMenuElement, ISwipeItem
Derived
Implements

Properties

AutomationId

Gets the string that uniquely identifies the element.

(Inherited from ISwipeItem)
Background

Gets the paint which will fill the background of a View.

CharacterSpacing

Gets the spacing between characters of the text.

(Inherited from ITextStyle)
Font

Gets the font family, style and size of the font.

(Inherited from ITextStyle)
Handler

Gets or sets the View Handler of the Element.

(Inherited from IElement)
IsAnimationPlaying (Inherited from IImageSourcePart)
IsEnabled

Gets a value indicating whether this View is enabled in the user interface.

(Inherited from IMenuElement)
Parent

Gets the Parent of the Element.

(Inherited from IElement)
Source (Inherited from IImageSourcePart)
Text

Gets the text.

(Inherited from IText)
TextColor

Gets the text color.

(Inherited from ITextStyle)
Visibility

Gets a value that determines whether this View should be part of the visual tree or not.

Methods

Clicked()

Occurs when the IMenuElement is clicked.

(Inherited from IMenuElement)
OnInvoked()

Occurs when user interaction indicates that the command represented by this item should execute.

(Inherited from ISwipeItem)
UpdateIsLoading(Boolean) (Inherited from IImageSourcePart)

Extension Methods

ToHandler(IElement, IMauiContext)
ToPlatform(IElement, IMauiContext)
GetTextColor(ISwipeItemMenuItem)

Applies to