Hi there,
I have a ultradayview which has mutiple owners. My requirement is, when I select a paticular owner, it's width should be shown wider (eg. 100 -> 300). I have used the creationfilter to override the size of the width as follows. BUT it does NOT setting the width of the owner. ITs setting width of some higher level UIElement of Owner.
PLESASE let me know a solution ASAP. This is very urgent!! ( Please see the requiement attached)
In Load:
this.ultraDayView1.CreationFilter = new MyCreationFilter;
public class MyCreationFilter : IUIElementCreationFilter
{
public void AfterCreateChildElements(UIElement parent)
GroupUIElement GUI = parent.GetAncestor(typeof(GroupUIElement)) as GroupUIElement;
if (GUI != null)
if (GUI.DayView.ActiveOwner != null)
Owner owner = GUI.GetContext(typeof(Owner)) as Owner;
if (GUI != null && owner.ToString() == GUI.DayView.ActiveOwner.ToString())
GUI.Rect = new Rectangle(GUI.Rect.X, GUI.Rect.Y, 300, GUI.Rect.Height);
}
Thanks in Advance!!
Hi!! I need a response to this ASAP please!! Thanks so much!
its been 2 days!! I need a response to this ASAP please!! Thanks so much!