ValidationSummaryItem Class
Silverlight
Represents an individual validation error.
Namespace: System.Windows.Controls
Assembly: System.Windows.Controls.Data.Input (in System.Windows.Controls.Data.Input.dll)
The ValidationSummaryItem type exposes the following members.
| Name | Description | |
|---|---|---|
|
ValidationSummaryItem() | Initializes a new instance of the ValidationSummaryItem class. |
|
ValidationSummaryItem(String) | Initializes a new instance of the ValidationSummaryItem class with the specified error message. |
|
ValidationSummaryItem(String, String, ValidationSummaryItemType, ValidationSummaryItemSource, Object) | Initializes a new instance of the ValidationSummaryItem class with the specified error message, header, item type, source, and context. |
| Name | Description | |
|---|---|---|
|
Context | Gets or sets the object that is the context in which the error occurred. |
|
ItemType | Gets a value that specifies whether the error originated from an object or a property. |
|
Message | Gets or sets the text of the error message. |
|
MessageHeader | Gets or sets the text of the error message header. |
|
Sources | Gets the sources of the validation errors. |
| Name | Description | |
|---|---|---|
|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString | The string representation of this ValidationSummaryItem. (Overrides Object.ToString().) |
| Name | Description | |
|---|---|---|
|
PropertyChanged | Occurs when a property value for this ValidationSummaryItem changes. |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.