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
510
Show Tool Tip In the UltraDayView Header
posted

Hi

I am showing the Owner and the day in the ultradayview. We are facing little problem when there are 100s of Resources or Owners available in a application. In this case what happens is Owner column so small that user cannot really identify the who is the owner. Is there a way I can show tool tip to the owner.

Or do we have an option by which you can set the Owners vertically and the timeslot horizontally so that the owners or the resources are visible.

Thanks and Looking forward to a positve reply.

Parents
No Data
Reply
  • 69832
    Suggested Answer
    Offline posted

    You could handle the control's MouseEnterElement event and display a tooltip when the cursor passes within an owner header:

    Example:
    void dayView_MouseEnterElement(object sender, UIElementEventArgs e)
    {
        UltraDayView dayView = sender as UltraDayView;
        nsDayView.OwnerHeaderUIElement headerElement = e.Element as nsDayView.OwnerHeaderUIElement;

        if ( headerElement != null && headerElement.Owner != null )
        {
            this.toolTip.SetToolTip( dayView, headerElement.Owner.Key );
        }
    }

Children