Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
185
All day event wrong render area
posted
Hi!, my application change the displayed text of the appointment, with the IU Element creation filter and everything works fine. It also change the text with the all day event, but in these case it render the text with the original text length. I mean:

original text = "test" modified text = "123456789"
rendered text = "1234"

i use:
appointmentElement = Ctype(parent.Getancestor(GetType(AllDayEventUIElement)), AllDayEventUIElement)
appointment = appointmentElement.getContext(Gettype(Appoinment))
appointment.text = "123456789"

Thanks, Marcelo.
Parents
No Data
Reply
  • 69832
    Offline posted

    You have to adjust the Rect of the text element so that it can show the additional text.

    Example:
    Infragistics.Win.EmbeddableUIElementBase embeddableElement =
        appointmentElement.GetDescendant( typeof(Infragistics.Win.EmbeddableUIElementBase) ) as
        Infragistics.Win.EmbeddableUIElementBase;

    embeddableElement.Rect = appointmentElement.RectInsideBorders;

Children