Main Menu
Knowledge Base
Product Registration
Log an Incident
Request a Feature
Search Incidents/Bug Reports


Search KB

Please note: In an effort to better serve you, we are in the process of restructuring DevCenter. In the process, we have moved many items that you may be used to finding in DevCenter over to the Main Site. If you are having trouble locating something, please try looking at the following places:

Knowledge Base Article: KB07316

HOWTO:How do I force an Appointment's start and end times to display in the UltraDayView control?


The information in this article applies to:
UltraWinSchedule (v5.1.20051)
  Article Created: 
4/18/2005

Last Updated:
4/20/2005

Article Type
How To
  
Page Options
Average Rating:
6 out of 10

Rate this page
Print this page
E-mail this page
Add to Favorites

Summary

By default, the UltraDayView control only displays the start and end time for an Appointment when the start or end time does not coincide exactly with that of the TimeSlots that it spans. This is why, for example, you will see the start and end times for an Appointment that begins at 9:27AM, but not for an Appointment that begins at 9:30AM. This behavior is seen in MS Outlook, which the UltraDayView control closely emulates in most cases.

Additional Information

Infragistics' IUIElementCreationFilter interface is one of the more powerful extensibility mechanisms in the Presentation Layer Framework. This interface makes it possible to add additional UIElements, the basic building blocks of Infragistics controls, to any other UIElement. It also makes it possible to modify existing ones, which is the method employed in this demonstration. The UIElement typically used to display text, the TextUIElement, exposes a 'Text' property, which in most cases the end developer does not interact with. In this demonstration, we will set the Text property of the appropriate TextUIElement so that Appointments displayed in the UltraDayView control's TimeSlotArea always show any combination of the start/end times, Subject, Location, and Description.

Samples

ultradayview_appointmenttext_cs.zip
 UltraDayView Appointment Text (C#)


ultradayview_appointmenttext_vb.zip
 UltraDayView Appointment Text (VB)



How would you rate the quality of this content?
Poor -----------------------------------------> Outstanding

Tell us why you rated the content this way. (optional)