FocusingInvalidControlEventArgs.Handled Property


Gets or sets a value that indicates whether setting the focus was handled.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Data.Input (in System.Windows.Controls.Data.Input.dll)

public bool Handled { get; set; }

Property Value

Type: System.Boolean
true if setting the focus was handled; otherwise, false. The default is false.

You can handle setting the focus to the target control in your application code. In this case, set the Handled property to true to prevent the ValidationSummary control from setting focus.


Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions