Class ParseDateTimeEventArgs
Contains state information and event data associated with a parse date or time routed event.
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Input.dll
Syntax
public class ParseDateTimeEventArgs : RadRoutedEventArgs
Constructors
ParseDateTimeEventArgs(RoutedEvent, String, DateTime, Nullable<DateTime>, Boolean)
Initializes a new instance of the ParseDateTimeEventArgs class.
Declaration
public ParseDateTimeEventArgs(RoutedEvent routedEvent, string text, DateTime previousValue, Nullable<DateTime> result, bool isSuccessful)
Parameters
System.Windows.RoutedEvent
routedEvent
|
System.String
text
|
System.DateTime
previousValue
|
System.Nullable<System.DateTime>
result
|
System.Boolean
isSuccessful
|
Properties
IsParsingSuccessful
Gets or sets a value that indicates whether the parsing is successful or not.
Declaration
public bool IsParsingSuccessful { get; set; }
Property Value
System.Boolean
|
Remarks
Use this property to change the result of the parsing, if you want to have custom logic for parsing.
PreviousValue
Gets the value before it's being parsed.
Declaration
public DateTime PreviousValue { get; }
Property Value
System.DateTime
|
Result
Gets or sets the result of the parsing. Default value is null.
Declaration
public Nullable<DateTime> Result { get; set; }
Property Value
System.Nullable<System.DateTime>
The datetime object currently parsed. The default is null. |
Remarks
Use this property to change the result of the parsing, if you want to have custom logic for parsing.
TextToParse
Gets the string that is being parsed.
Declaration
public string TextToParse { get; }
Property Value
System.String
|