Class ValidationSummaryItemSource
The source of a ValidationSummaryItem, indicating the PropertyName and/or Control.
Inheritance
System.Object
ValidationSummaryItemSource
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Windows.Controls
Assembly: Controls.Data.Input.OpenSilver.dll
Syntax
public class ValidationSummaryItemSource
Constructors
| Improve this Doc View SourceValidationSummaryItemSource(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. |
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 SourceControl
Gets the Control.
Declaration
public Control Control { get; }
Property Value
Type | Description |
---|---|
Control |
PropertyName
Gets the PropertyName.
Declaration
public string PropertyName { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceEquals(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()