Class GuiCalendar
Wraps a SAP GUI calendar control (GuiCalendar).
Calendar controls appear in date selection dialogs and some screen elements.
public class GuiCalendar : GuiComponent
- Inheritance
-
GuiCalendar
- Inherited Members
Properties
FocusedDate
The date that currently has keyboard focus in the calendar. Returns null if the value cannot be parsed.
public DateTime? FocusedDate { get; }
Property Value
Methods
GetSelectedDate()
Returns the currently focused/selected date, or null if nothing is selected or the date cannot be parsed.
public DateTime? GetSelectedDate()
Returns
SetDate(DateTime)
Sets the focused/selected date in the calendar. Equivalent to clicking the given day in the SAP GUI calendar.
public void SetDate(DateTime date)
Parameters
dateDateTime
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.