Loading GST Billing Software
header image

Kushal Help : .Net Framework Date and Time Control in Kushal

Erachana Line

Date and Time

ERachana Date and Time Control is an enhanced textbox Control specifically designed to accept a date. Users can type just {15 4 12} to set a date – {15th of April 2012}.



Properties:

Association

AssociatedColumn

Associated with Database Table Field

AssociatedTable

Associated with Database Table

Design

Alignment

Gets or Sets how text is aligned in a Textbox Control

AllowDuplicates

Gets or Sets Boolean values to True or False, additionally disallows the current value if entry already exists in the database

AllowNull

Indicates whether the field can be saved with null input when user enters data and saves the record

BackColor

Background color of the Control (Inherited from Control)

Enabled

A value indicating whether the Control can respond to user interaction

Font

Font style property of the text displayed in the Control

ForeColor

Foreground (Font color) color of the Control

IsKeyField

Gets or Sets the Boolean values to True or False. Additionally, checks if associated field is primary key

SelectAllOnFocus

Gets or Sets the text selected in the text box

TabIndex

Tab order of the text box

Visible

A value indicating whether the Control should be displayed or not

Display

Custom Format

Gets or Sets the date/time in the given format

Default Value

Text associated with this Control. When form is loaded, text box is set with default value

Format

Gets or Sets format of the date/time

Name

Name of the Control

ToolTip

A small pop-up window that displays some information when you hover mouse on a Control

Location

Left

The distance, in pixels, between the left edge of the Label and the left edge of the Container

Top

The distance, in pixels, between the top edge of the Label and the top edge of the Container

Size

Height

Height of the Control in pixels

Width

Width of the Control in pixels

Validation

DoValidation

Gets or Sets a value indicating whether the value entered by user will be checked before saving the form or not

MaxValue

Gets or Sets a Maximum Range of the Value if DoValidation is true

MinValue

Gets or Sets a Minimum Range of the Value if DoValidation is true

ValidationMessage

Display Message when validation fails