Share via


IMenuFlyoutItem 介面

定義

代表 MenuFlyout 檢視中的命令。

public interface class IMenuFlyoutItem : Microsoft::Maui::IMenuElement
public interface IMenuFlyoutItem : Microsoft.Maui.IMenuElement
type IMenuFlyoutItem = interface
    interface IMenuElement
    interface IElement
    interface IImageSourcePart
    interface IText
    interface ITextStyle
Public Interface IMenuFlyoutItem
Implements IMenuElement
衍生
實作

屬性

CharacterSpacing

取得文字字元之間的間距。

(繼承來源 ITextStyle)
Font

取得字型系列、樣式和字型的大小。

(繼承來源 ITextStyle)
Handler

取得或設定 Element 的 View Handler。

(繼承來源 IElement)
IsAnimationPlaying

代表 MenuFlyout 檢視中的命令。

(繼承來源 IImageSourcePart)
IsEnabled

取得值,指出是否在使用者介面中啟用此檢視。

(繼承來源 IMenuElement)
KeyboardAccelerators

代表 MenuItem 的快速鍵。

Parent

取得專案的父代。

(繼承來源 IElement)
Source

代表 MenuFlyout 檢視中的命令。

(繼承來源 IImageSourcePart)
Text

取得文字。

(繼承來源 IText)
TextColor

取得文字色彩。

(繼承來源 ITextStyle)

方法

Clicked()

發生於單擊 IMenuElement 時。

(繼承來源 IMenuElement)
UpdateIsLoading(Boolean)

代表 MenuFlyout 檢視中的命令。

(繼承來源 IImageSourcePart)

擴充方法

ToHandler(IElement, IMauiContext)

代表 MenuFlyout 檢視中的命令。

ToPlatform(IElement, IMauiContext)

代表 MenuFlyout 檢視中的命令。

適用於