ValidationSummaryItem Constructor (String, String, ValidationSummaryItemType, ValidationSummaryItemSource, Object)

Silverlight

Initializes a new instance of the ValidationSummaryItem class with the specified error message, header, item type, source, and context.

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

public ValidationSummaryItem(
	string message,
	string messageHeader,
	ValidationSummaryItemType itemType,
	ValidationSummaryItemSource source,
	Object context
)

Parameters

message
Type: System.String
The text of the error message.
messageHeader
Type: System.String
The header of the item, such as the property name.
itemType
Type: System.Windows.Controls.ValidationSummaryItemType
Specifies whether the error originated from an object or a property.
source
Type: System.Windows.Controls.ValidationSummaryItemSource
The source of the error message, including the originating control or property name.
context
Type: System.Object
The context in which the error occurred.

Silverlight

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

ADD
Show: