Show / Hide Table of Contents

Class UpDownParseErrorEventArgs

Provides data for the UpDownBase.ParseError event.

Inheritance
System.Object
System.EventArgs
RoutedEventArgs
UpDownParseErrorEventArgs
Inherited Members
RoutedEventArgs.OriginalSource
System.EventArgs.Empty
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: System.Windows.Controls
Assembly: OpenSilver.Controls.Input.Toolkit.dll
Syntax
public class UpDownParseErrorEventArgs : RoutedEventArgs

Constructors

| Improve this Doc View Source

UpDownParseErrorEventArgs(String, Exception)

Initializes a new instance of the UpDownParseErrorEventArgs class.

Declaration
public UpDownParseErrorEventArgs(string text, Exception error)
Parameters
Type Name Description
System.String text

The text that caused the parsing error.

System.Exception error

The exception thrown by ParseValue method.

Properties

| Improve this Doc View Source

Error

Gets the exception that was raised during the initial parsing attempt.

Declaration
public Exception Error { get; }
Property Value
Type Description
System.Exception
| Improve this Doc View Source

Handled

Gets or sets a value indicating whether the event is handled.

Declaration
public bool Handled { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Text

Gets the original string value that failed to parse.

Declaration
public string Text { get; }
Property Value
Type Description
System.String
  • Improve this Doc
  • View Source