Share via


IMenuFlyoutSubItem 介面

定義

代表在 MenuFlyout 檢視中顯示子功能表的功能表項。

public interface class IMenuFlyoutSubItem : Microsoft::Maui::IMenuFlyoutItem, System::Collections::Generic::ICollection<Microsoft::Maui::IMenuElement ^>, System::Collections::Generic::IEnumerable<Microsoft::Maui::IMenuElement ^>, System::Collections::Generic::IList<Microsoft::Maui::IMenuElement ^>
public interface IMenuFlyoutSubItem : Microsoft.Maui.IMenuFlyoutItem, System.Collections.Generic.ICollection<Microsoft.Maui.IMenuElement>, System.Collections.Generic.IEnumerable<Microsoft.Maui.IMenuElement>, System.Collections.Generic.IList<Microsoft.Maui.IMenuElement>
type IMenuFlyoutSubItem = interface
    interface IMenuFlyoutItem
    interface IMenuElement
    interface IElement
    interface IImageSourcePart
    interface IText
    interface ITextStyle
    interface IList<IMenuElement>
    interface ICollection<IMenuElement>
    interface seq<IMenuElement>
    interface IEnumerable
Public Interface IMenuFlyoutSubItem
Implements ICollection(Of IMenuElement), IEnumerable(Of IMenuElement), IList(Of IMenuElement), IMenuFlyoutItem
衍生
實作

屬性

CharacterSpacing

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

(繼承來源 ITextStyle)
Font

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

(繼承來源 ITextStyle)
Handler

取得或設定 Element 的 View Handler。

(繼承來源 IElement)
IsAnimationPlaying

代表在 MenuFlyout 檢視中顯示子功能表的功能表項。

(繼承來源 IImageSourcePart)
IsEnabled

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

(繼承來源 IMenuElement)
KeyboardAccelerators

表示 MenuItem 的快速鍵。

(繼承來源 IMenuFlyoutItem)
Parent

取得專案的父代。

(繼承來源 IElement)
Source

代表在 MenuFlyout 檢視中顯示子功能表的功能表項。

(繼承來源 IImageSourcePart)
Text

取得文字。

(繼承來源 IText)
TextColor

取得文字色彩。

(繼承來源 ITextStyle)

方法

Clicked()

發生於單擊 IMenuElement 時。

(繼承來源 IMenuElement)
UpdateIsLoading(Boolean)

代表在 MenuFlyout 檢視中顯示子功能表的功能表項。

(繼承來源 IImageSourcePart)

擴充方法

ToHandler(IElement, IMauiContext)

代表在 MenuFlyout 檢視中顯示子功能表的功能表項。

ToPlatform(IElement, IMauiContext)

代表在 MenuFlyout 檢視中顯示子功能表的功能表項。

適用於