Class DateTimePicker
Inherited Members
Namespace: DataWeb.Data.Controls
Assembly: DataWeb.Core.dll
Syntax
public class DateTimePicker : Control
Constructors
DateTimePicker(Form, IServiceProvider)
Declaration
public DateTimePicker(Form form, IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
Form | form | |
IServiceProvider | serviceProvider |
Methods
ProcessOnGetValueAsync(object, Dictionary<string, object>, IUser, string, NavigationContext, CancellationToken)
Processes the control value asynchronously.
Declaration
public override Task<object> ProcessOnGetValueAsync(object value, Dictionary<string, object> sectionData, IUser user, string itemId = null, NavigationContext navigationContext = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
object | value | The value to process. |
Dictionary<string, object> | sectionData | The section data. |
IUser | user | The IUser for whom to process the value. |
string | itemId | The Id of the item to which the value is associated, if applicable. |
NavigationContext | navigationContext | The NavigationContext, if applicable. |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<object> | A task that represents the asynchronous operation and returns the processed value. |