Hide

YetaWF Documentation

Display
Print

DayOfMonth Component

DayOfMonth (Display)

Displays the model formatted as a day of the month (1-31). If the model value is null, nothing is rendered.

Model Type: int?

[Caption("Day of the Month"), Description("Shows the day of the month")]
[UIHint("DayOfMonth"), ReadOnly]
public int? Day { get; set; }

DayOfMonth (Edit)

Allows selection of a day of the month (1-31) using a dropdown list. The model specifies the selected day. A "(select)" entry is added as the first entry with a value of null.

Model Type: int?

[Caption("Day of the Month"), Description("Select the day of the month")]
[UIHint("DayOfMonth")]
public int? Day { get; set; }