Sprache

DesktopWindowXamlSourceTakeFocusRequestedEventArgs Klasse

Definition

Stellt Ereignisdaten für das TakeFocusRequested-Ereignis bereit .

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
Vererbung
Object Platform::Object IInspectable DesktopWindowXamlSourceTakeFocusRequestedEventArgs
Attribute

Beispiele

In diesem Beispiel wird gezeigt, wie Sie einer Win32-App eine WASDK-Insel mit XAML-Inhalten hinzufügen (die Windows App SDK Laufzeit muss installiert werden, damit die App ausgeführt werden kann).

Einfache Insel-App

Eigenschaften

Name Beschreibung
Request

Ruft ein XamlSourceFocusNavigationRequest - Objekt, das den Grund für die Fokusnavigation (zusammen mit anderen optionalen Informationen) angibt.

Gilt für:

Weitere Informationen