Class
DataFormValidationSummary

Represents a validation summary for RadDataForm.

Definition

Namespace:Telerik.Windows.Controls.Data.DataForm

Assembly:Telerik.Windows.Controls.Data.dll

Syntax:

cs-api-definition
public class DataFormValidationSummary : Control

Inheritance: objectDataFormValidationSummary

Constructors

DataFormValidationSummary()

Initializes a new instance of the DataFormValidationSummary class.

Declaration

cs-api-definition
public DataFormValidationSummary()

Fields

ErrorsProperty

Identifies the Errors dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ErrorsProperty

Field Value

DependencyProperty

HasErrorsProperty

Identifies the HasErrors dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HasErrorsProperty

Field Value

DependencyProperty

Properties

Errors

Gets the pending validation errors.

Declaration

cs-api-definition
public ObservableCollection<ErrorInfo> Errors { get; }

Property Value

ObservableCollection<ErrorInfo>

HasErrors

Gets a value indicating whether this instance has errors.

Declaration

cs-api-definition
public bool HasErrors { get; }

Property Value

bool

true if this instance has errors; otherwise, false.

Methods

OnErrorsCollectionChanged(object, NotifyCollectionChangedEventArgs)

Called when the Errors collection changes.

Declaration

cs-api-definition
protected virtual void OnErrorsCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)

Parameters

sender

object

The sender.

e

NotifyCollectionChangedEventArgs

The NotifyCollectionChangedEventArgs instance containing the event data.

OnInitialized(EventArgs)

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

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

OnUnloaded(object, RoutedEventArgs)

Called when DataFormValidationSummary gets unloaded.

Declaration

cs-api-definition
protected virtual void OnUnloaded(object sender, RoutedEventArgs e)

Parameters

sender

object

The sender.

e

RoutedEventArgs

The RoutedEventArgs instance containing the event data.

ResetTheme()

Resets the theme.

Declaration

cs-api-definition
public void ResetTheme()