DesktopWindowXamlSourceTakeFocusRequestedEventArgs 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供 TakeFocusRequested 事件的事件資料。
public ref class DesktopWindowXamlSourceTakeFocusRequestedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class DesktopWindowXamlSourceTakeFocusRequestedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class DesktopWindowXamlSourceTakeFocusRequestedEventArgs
Public NotInheritable Class DesktopWindowXamlSourceTakeFocusRequestedEventArgs
- 繼承
- 屬性
範例
這個範例展示了如何在 Win32 應用程式中新增一個包含 XAML 內容的 WASDK 島嶼(該應用程式必須安裝 Windows 應用程式 SDK 執行環境才能執行)。
屬性
| 名稱 | Description |
|---|---|
| Request |
取得一個 XamlSourceFocusNavigationRequest 物件,該物件指定了焦點導航的原因(以及其他可選資訊)。 |