Partager via


ValidationSummaryItem.Context Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the object that is the context in which the error occurred.

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

Syntax

'Declaration
Public Property Context As Object
public Object Context { get; set; }

Property Value

Type: System.Object
The object that is the context in which the error occurred, or nulla null reference (Nothing in Visual Basic) if no value is set.

Remarks

This property can be used as a container to track the object that is the source of the error.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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