Table of Contents

Constructor DateField

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

DateField(int, int, DateTime, bool)

Initializes a new instance of DateField using Absolute layout.

public DateField(int x, int y, DateTime date, bool isShort = false)

Parameters

x int

The x coordinate.

y int

The y coordinate.

date DateTime

Initial date contents.

isShort bool

If true, shows only two digits for the year.

DateField()

Initializes a new instance of DateField using Computed layout.

public DateField()

DateField(DateTime)

Initializes a new instance of DateField using Computed layout.

public DateField(DateTime date)

Parameters

date DateTime