method Face.CreateCalendar ()
Creates / Retrieves the FaceCalendar object to be shown on the current face.

TypeDescription
ReturnDescription
FaceCalendarA FaceCalendar object being retrieved / created.
The CreateCalendar creates a Calendar control if it is called for the first time ( changes the face's Type property to exFaceCalendar), and retrieve the FaceCalendar object, for the next calls. The FaceCalendar property retrieves FaceCalendar object, if the face's Type property is exFaceCalendar, else it returns nothing. The InitFaceCalendar / InitFaceContent event occurs once the face's Type property has been changed to exFaceCalendar, or calling the CreateCalendar method for the first time. You can use the InitFaceCalendar event to initialize all faces of Calendar type. The Visible property specifies whether the face's content is visible or hidden. The Enabled property enables or disables the face. Use the RelativeMargins / Margins property to specify the margins of the face's content relative to its face. 

A face that contains a Calendar control may fire any of the following events ( CreateCalendar, Type on exFaceCalendar ):