Hi,
I'm using ultratimeline with Office2007 theme, the design is OK but I need to display square corner for appointments.
I try CreateFilter adapt from this : http://es.infragistics.com/community/forums/t/17867.aspx
But appointments lost left and right borders, it also seems creationfilter doesn't work on form resize (many appointments display over and over)
Is there any way to display squared corners instead of rounded ?
Regards
Hi Yannik,
Thank you for posting in our forums.
I have modified the code provided in the thread you referenced to work for the TimeLineView instead of the DayView and in my tests it seems to work quite well. The borders are displayed and I can’t notice any issues when resizing the form.
Please provide me with a sample that demonstrates your issue and I will try to implement the squared border appointments in it. I have attached my test sample, so you can use it as a starting point.
Let me know if you have any additional questions.
Thank you very much, it works great !!!
Another problem I had, I customise owner in in timeline owner headers, adding image (class extended ImageUIElement for adding tooltip) but I can't manage image background color as transparence. png transparent background color appears grey like in IE6... too bad.
Any idea ?
regards
Hi Yannick,
Thank you for the reply.
I am glad that this solution works for you. As for the image issue, please provide me a sample that uses the modified ImageUIElement along with your images. This will help me greatly in finding a solution for this issue.
Thank you for your collaboration.
I am looking forward to your reply.
Here's the zip, for transparency
I add another question (the last one for you) :
I also try to increase the owner column size to see all my icons (I've calculated the max X, but I can't fixe this value)
I try to increase the Owner TextUIElement but no change.
Truncate icons
Thank you for the provided sample.
It seems that the background color is caused by the BackColor property of the icons. If you set the BackColor to Color.Transparent for each of the UltraPictureBox items in the creation filter the images should have transparent background for all images.
I have attached your sample with this modification.
Let me know if this is what you are looking for.
Hello Yannick,
I am just checking about the progress of this issue. Let me know if you need my further assistance on this issue.
Thank you for using Infragistics Components.
The UltraPictureBox added in the creation filter is not a UIElement, it is a control. And the BackColor is a property that is inherited from the control class. Generally using the Appearance.BackColor property of our controls, will override the BackColor, but I assume that in this case it doesn’t because of the CreationFilter. In most cases using the Appearance.BackColor is the recommended approach.
As for the header width, it is automatically calculated, from the width of the contents in the header. The easiest way to increase it is to make the owner caption longer. You can do that by adding a few whitespaces at the end of the caption, followed by unprintable character (this will prevent the caption from getting trimmed) like “Escape” at the end of the caption:
this.ultraCalendarInfo1.Owners.Add("1", "Me " + (char)27);
I have modified the sample in order to demonstrate this suggestion.
Please let me know if you have any additional questions.
Ok for the background it works for me. So, what's the difference between Element.BackColor and element.Appearences.BackColor ? Am I supposed to use based elements prooperties instead of Appearences properties ?
And for the owner's column width, is there any way to do it ?
Thanks a lot for your help