Show / Hide Table of Contents

Class Validation

Provides attached properties regarding validation.

Inheritance
System.Object
Validation
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public static class Validation

Fields

View Source

HasErrorsProperty

Defines the System.Windows.DependencyProperty for SetHasErrors(DependencyObject, Boolean) and GetHasErrors(DependencyObject).

Declaration
public static readonly DependencyProperty HasErrorsProperty
Field Value
Type Description
System.Windows.DependencyProperty

Methods

View Source

GetHasErrors(DependencyObject)

Gets a value indicating whether the attached element has errors.

Declaration
public static bool GetHasErrors(DependencyObject element)
Parameters
Type Name Description
System.Windows.DependencyObject element

The element.

Returns
Type Description
System.Boolean

True if the element has errors; false otherwise

View Source

SetHasErrors(DependencyObject, Boolean)

Sets a value indicating whether the attached element has errors.

Declaration
public static void SetHasErrors(DependencyObject element, bool value)
Parameters
Type Name Description
System.Windows.DependencyObject element

The element.

System.Boolean value

if set to true the element contains errors.

  • View Source
Back to top Generated by DocFX