LosingFocusEventArgs.Cancel property

[This documentation is preliminary and is subject to change.]

Gets or sets whether focus change is reverted.

Syntax

public bool Cancel { get; set; }
Public Property Cancel As Boolean
public:
property bool Cancel { 
   bool get();
   void set (bool value);
}

Property value

Type: System.Boolean [.NET] | Platform::Boolean [C++]

true to revert focus change. Otherwise, false. The default is true.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Xaml.Input Windows::UI::Xaml::Input [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

See also

LosingFocusEventArgs