DrawDateControlEventArgs Class
- Namespace
TXTextControl.ServerVisualisation
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. Core. SDK
- Assembly
TXTextControl.Server. Core. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. Core. SDK TXTextControl.from the setup.Server. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.Server. dll
- Inherits
- Event
Args - Draw
Date Control Event Args
- Event
Description
The DrawDateControlEventArgs class contains information necessary to draw a date control so that an end-user can select a date for a DateFormField. This class is used with the ServerVisualization.TextViewGenerator.DrawDateControl event.
Syntax
public class DrawDateControlEventArgs : EventArgsPublic Class DrawDateControlEventArgs
Inherits EventArgsExamples
The following example includes the location value from a Draw Date Control Event Args object in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Location: {drawDateControlEventArgs.Location}");
Console.WriteLine("Draw Date Control Event Args is ready for use.");Console.WriteLine($"Location: {drawDateControlEventArgs.Location}")
Console.WriteLine("Draw Date Control Event Args is ready for use.")Members
Properties
| Property | Description |
|---|---|
| DateFormField | Gets the DateFormField for which the date control is displayed. It can be used to get or to set the field's date. |
| Location | Gets the location where to place the date control, in pixels. |