System.Web 1.0.5000.0 2.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Object

A object represents a date in the control. You can use this class in the event handler to programmatically access the properties of a date as it is rendered on the control. This allows you to determine the properties of the day (such as whether the date is selectable, selected, today's date, or a weekend date) and programmatically control the appearance or behavior of the day.

For a list of initial property values for an instance of , see the constructor.

Represents a date in the control.

- Constructor

  Use this constructor to create and initialize a new instance of the class.

  Although this constructor is available, an instance of the class is not typically created dynamically.

  The following table shows initial property values for an instance of .

  Property

  Initial Value

  Date

  The value of the parameter.

  DayNumberText

  The value of the parameter.

  IsOtherMonth

  The value of the parameter.

  IsSelected

  The value of the parameter.

  IsToday

  The value of the parameter.

  IsWeekend

  The value of the parameter.

  Initializes a new instance of the class.

  A object that contains the date represented by an instance of this class.
  true to indicate that the date represented by an instance of this class is either a Saturday or a Sunday; otherwise, false.
  true to indicate that the date represented by an instance of this class is the current date; otherwise, false.
  true to indicate that the date represented by an instance of this class is selected on the control; otherwise, false.
  true to indicate that the date represented by an instance of this class is in a month other than the displayed month on the control; otherwise, false.
  The day number for the date represented by this class.
  1.0.5000.0
  2.0.0.0
- Property
  System.DateTime To be added: an object of type 'DateTime'

  Use the property to programmatically determine the date represented by an instance of this class.

  Gets the date represented by an instance of this class. This property is read-only.

  1.0.5000.0
  2.0.0.0
- Property
  System.String To be added: an object of type 'string'

  Use the property to determine the string equivalent of the day number for the date represented by an instance of this class. This allows you to programmatically control the appearance or behavior of the day, based on this value.

  Gets the string equivalent of the day number for the date represented by an instance of the class. This property is read-only.

  1.0.5000.0
  2.0.0.0
- Property
  System.Boolean To be added: an object of type 'bool'

  Use the property to programmatically determine whether the date represented by an instance of this class is in a month other than the month displayed in the control. This allows you to programmatically control the appearance or behavior of the day based on this value.

  Gets a value that indicates whether the date represented by an instance of this class is in a month other than the month displayed in the control. This property is read-only.

  1.0.5000.0
  2.0.0.0
- Property
  System.Boolean To be added: an object of type 'bool'

  Use the property to specify or determine whether the date represented by an instance of this class can be selected in the control. This allows you to programmatically control the appearance behavior of the day, based on this value.

  Gets or sets a value that indicates whether the date represented by an instance of this class can be selected in the control.

  1.0.5000.0
  2.0.0.0
- Property
  System.Boolean To be added: an object of type 'bool'

  Use the property to programmatically determine whether the date represented by an instance of this class is selected in the control. This allows you to programmatically control the appearance or behavior of the day, based on this value.

  Gets a value that indicates whether the date represented by an instance of this class is selected in the control. This property is read-only.

  1.0.5000.0
  2.0.0.0
- Property
  System.Boolean To be added: an object of type 'bool'

  Use the property to programmatically determine whether the date represented by an instance of this class is the same date specified by the property of the control. This allows you to programmatically control the appearance or behavior of the day, based on this value.

  Although the date specified by the property is usually the system date on the server, it is possible to change it, if necessary.

  Gets a value that indicates whether the date represented by an instance of this class is the same date specified by the property of the control. This property is read-only.

  1.0.5000.0
  2.0.0.0
- Property
  System.Boolean To be added: an object of type 'bool'

  Use the property to programmatically determine whether the date represented by an instance of this class is either a Saturday or a Sunday. This allows you to programmatically control the appearance or behavior of the day, based on this value.

  Gets a value that indicates whether the date represented by an instance of this class is a either Saturday or Sunday. This property is read-only.

  1.0.5000.0
  2.0.0.0