Share via


IMenuElement 介面

定義

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

屬性

CharacterSpacing

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

(繼承來源 ITextStyle)
Font

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

(繼承來源 ITextStyle)
Handler

取得或設定 Element 的 View Handler。

(繼承來源 IElement)
IsAnimationPlaying (繼承來源 IImageSourcePart)
IsEnabled

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

Parent

取得專案的父代。

(繼承來源 IElement)
Source (繼承來源 IImageSourcePart)
Text

取得文字。

(繼承來源 IText)
TextColor

取得文字色彩。

(繼承來源 ITextStyle)

方法

Clicked()

發生於單擊 IMenuElement 時。

UpdateIsLoading(Boolean) (繼承來源 IImageSourcePart)

擴充方法

ToHandler(IElement, IMauiContext)
ToPlatform(IElement, IMauiContext)

適用於