Hey there,
i got (hopefully) a pretty easy problem. After a lot of research in this forum i found nothing that answers my question.
How i can show multiple appointments in the UltraMonthViewsingle Control? Clearly, when i increase the size of the control, the more appointments are visible per day.
But i want to keep the size of the control and smaller the appointment heights. I managed this with the CreationFilter interface. Code:
public class MonthViewSingleAppointmentCreationFilter : IUIElementCreationFilter
{
public void AfterCreateChildElements(UIElement parent)
if (parent.GetType() == typeof(SingleDayAppointmentUIElement))
var appoitment = (SingleDayAppointmentUIElement)parent;
if (appoitment != null)
appoitment.Rect = new Rectangle(appoitment.Rect.X, appoitment.Rect.Y, appoitment.Rect.Width, 13);
}
else if (parent.GetType() == typeof(MultiDayAppointmentUIElement))
var appoitment = (MultiDayAppointmentUIElement)parent;
public bool BeforeCreateChildElements(UIElement parent)
return false;
The result is following:
Clearly you can see, theres a lot of space for more appointments. How i can move them together? The A similar problem is shown in this post http://es.infragistics.com/community/forums/t/86148.aspx but i found no answer for me...
I hope you can help me once more again!
Hello Manfred,
I have reviewed the CreationFilter logic that was implemented here to reduce appointment size. However, removing the extra space between these appointments is a very complex thing to achieve. This involves looping through all DayUIElements and looping through every appointment in them and calculating its rect position based on which the next appointment location has to be set.
After examining removing space between the appointments in UltraMonthViewSingle, this has been determined to be a new product idea.You can suggest new product ideas for future versions (or vote for existing ones) at <http://ideas.infragistics.com>.
Submitting your idea will allow you to communicate directly with our product management team, track the progress of your idea at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
Remember when submitting your idea to explain the context in which a feature would be used and why it is needed as well as anything that would prevent you from accomplishing this today. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. You can also link back to this thread for additional details.
Thank you in advance to submitting your product idea.
Sincerely,Sahaja KokkalagaddaAssociate Software Developer