Show / Hide Table of Contents

Class ValidationSummaryItemSource

The source of a ValidationSummaryItem, indicating the PropertyName and/or Control.

Inheritance
System.Object
ValidationSummaryItemSource
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Controls
Assembly: OpenSilver.Controls.Data.Input.dll
Syntax
public class ValidationSummaryItemSource

Constructors

| Improve this Doc View Source

ValidationSummaryItemSource(String)

Initializes a new instance of the ValidationSummaryItemSource class.

Declaration
public ValidationSummaryItemSource(string propertyName)
Parameters
Type Name Description
System.String propertyName

The name of the property associated with this error.

| Improve this Doc View Source

ValidationSummaryItemSource(String, Control)

Initializes a new instance of the ValidationSummaryItemSource class.

Declaration
public ValidationSummaryItemSource(string propertyName, Control control)
Parameters
Type Name Description
System.String propertyName

The name of the property associated with this error.

Control control

The control associated with this error.

Properties

| Improve this Doc View Source

Control

Gets the Control.

Declaration
public Control Control { get; }
Property Value
Type Description
Control
| Improve this Doc View Source

PropertyName

Gets the PropertyName.

Declaration
public string PropertyName { get; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

Equals(Object)

Implements the equality check against the PropertyName and Control.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj

The ValidationSummaryItem being compared.

Returns
Type Description
System.Boolean

A value indicating whether the two references are equal in value.

Overrides
System.Object.Equals(System.Object)
| Improve this Doc View Source

GetHashCode()

Returns a HashCode based on the PropertyName and Control Name

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

The hash value of the ValidationSummaryItemSource.

Overrides
System.Object.GetHashCode()
  • Improve this Doc
  • View Source