OrientationStateTrigger 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public ref class OrientationStateTrigger sealed : Microsoft::Maui::Controls::StateTriggerBase
public sealed class OrientationStateTrigger : Microsoft.Maui.Controls.StateTriggerBase
type OrientationStateTrigger = class
inherit StateTriggerBase
Public NotInheritable Class OrientationStateTrigger
Inherits StateTriggerBase
- 繼承
建構函式
OrientationStateTrigger() |
欄位
OrientationProperty |
的 OrientationBindable 屬性。 |
屬性
BindingContext |
取得或設定 對象,這個物件包含屬於這個 BindableObject之系結屬性的目標屬性。 這是可繫結屬性。 (繼承來源 BindableObject) |
Dispatcher |
取得建立這個可系結物件時可用的發送器,否則會嘗試尋找最接近的可用發送器, (可能是視窗/應用程式的) 。 (繼承來源 BindableObject) |
IsActive | (繼承來源 StateTriggerBase) |
IsAttached | (繼承來源 StateTriggerBase) |
Orientation |
方法
事件
BindingContextChanged |
發生於 BindingContext 屬性的值變更時。 (繼承來源 BindableObject) |
IsActiveChanged | (繼承來源 StateTriggerBase) |
PropertyChanged |
當屬性值變更時發生。 (繼承來源 BindableObject) |
PropertyChanging |
當屬性值變更中時發生。 (繼承來源 BindableObject) |
明確介面實作
IDynamicResourceHandler.SetDynamicResource(BindableProperty, String) | (繼承來源 BindableObject) |
擴充方法
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應