New to Telerik UI for WPFStart a free 30-day trial

Represents a validation summary for RadDataForm.

Definition

Namespace:Telerik.Windows.Controls.Data.DataForm

Assembly:Telerik.Windows.Controls.Data.dll

Syntax:

C#
public class DataFormValidationSummary : Control

Inheritance: objectDataFormValidationSummary

Constructors

Initializes a new instance of the DataFormValidationSummary class.

C#
public DataFormValidationSummary()

Fields

ErrorsProperty

DependencyProperty

Identifies the Errors dependency property.

C#
public static readonly DependencyProperty ErrorsProperty

HasErrorsProperty

DependencyProperty

Identifies the HasErrors dependency property.

C#
public static readonly DependencyProperty HasErrorsProperty

Properties

Gets the pending validation errors.

C#
public ObservableCollection<ErrorInfo> Errors { get; }

Gets a value indicating whether this instance has errors.

C#
public bool HasErrors { get; }
Property Value:

true if this instance has errors; otherwise, false.

Methods

Called when the Errors collection changes.

C#
protected virtual void OnErrorsCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
Parameters:senderobject

The sender.

eNotifyCollectionChangedEventArgs

The NotifyCollectionChangedEventArgs instance containing the event data.

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Called when DataFormValidationSummary gets unloaded.

C#
protected virtual void OnUnloaded(object sender, RoutedEventArgs e)
Parameters:senderobject

The sender.

eRoutedEventArgs

The RoutedEventArgs instance containing the event data.

Resets the theme.

C#
public void ResetTheme()