Export (0) Print
Expand All

ValidationSummary.Filter Property

Silverlight

Gets or sets a value that indicates which types of errors are displayed.

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

public ValidationSummaryFilters Filter { get; set; }
<sdk:ValidationSummary Filter="validationSummaryFilter"/>

XAML Values

validationSummaryFilter

A ValidationSummaryFilters enumeration value. Possible values are All, ObjectErrors, PropertyErrors, or None.

Property Value

Type: System.Windows.Controls.ValidationSummaryFilters
One of the enumeration values that indicates which types of errors are displayed. The default is All.

Dependency property identifier field: FilterProperty

By default, the ValidationSummary displays both object and property level errors. You can specify the type of errors displayed by setting the Filter property to one of the ValidationSummaryFilters enumeration values. For example, if property level errors are already displayed by individual controls on the form, you can set the ValidationSummary to only display the object level errors.

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:
© 2014 Microsoft