How to customize advanced tool tip ?

Hello Syncfusion team !

Related to the schedule control advanced tooltip, it actually presents Subject, Start (with "start time: " prefix), End (with "end time: " prefix), Location (with "location; " prefix) and Reminder (with "reminder: " prefix).

I need to present the information differently (font style, size...) without the reminder info, and with custom prefix texts.

Please could you share me an example showing how to reach this aim ?

Thank you in advance for your answer.

8 Replies 1 reply marked as answer

AR Arulpriya Ramalingam Syncfusion Team October 9, 2020 06:50 PM UTC

Hi Eddy, 
  
Thank you for using syncfusion products. 
  
The ScheduleControl have support to change the Subject, BorderColor, CategoryBackColor, ShowTimeColor through ShowingAdvancedToolTip  event. If you want to customize the Tooltip layourt, we suggest you that to show your custom form when the advanced tooltip is showing and make sure to cancel the actions from the same event. Please refer the code snippet. 
  
Code snippet 
//Event subscription  
scheduleControl1.GetScheduleHost().ShowingAdvancedToolTip += Form1_ShowingAdvancedToolTip; 
  
//Event customization 
private void Form1_ShowingAdvancedToolTip(object sender, ScheduleGrid.ShowingAdvancedTooltipEventArgs e) 
        { 
            e.Cancel = true; 
            //Show your custom Tooltip 
        } 
  
 
 
Please get back to us if you need any other assistance.

Regards,
Arulpriya


Marked as answer

EM Eddy MARIANNE October 16, 2020 08:16 PM UTC

Hi Arulpriya.

Thank you for your answer.

Is there an available example to implement this ?


BT Balamurugan Thirumalaikumar Syncfusion Team October 19, 2020 06:22 PM UTC

Hi Eddy, 

Thank you for the update. 

We are trying to make the form as Tooltip and its styles,We need some time to prepare the sample.We will update the Sample 20th October 2020.Please wait until then. 

Balamurugan Thirumalaikumar  




EM Eddy MARIANNE January 9, 2021 11:04 PM UTC

Hi !

I didn't see the expected sample... In the Form1_ShowingAdvancedToolTip(object sender, ScheduleGrid.ShowingAdvancedTooltipEventArgs e) method, I can't see how to retrieve the appointment information that is hovered (IScheduleAppointment object) from the 'sender' or 'e' parameter. Help for this will be appreciated.


BT Balamurugan Thirumalaikumar Syncfusion Team January 11, 2021 12:18 PM UTC

Hi Eddy,  
 
Thanks for the update. 
 
As we updated earlier schedule control have support to change the Subject, BorderColor, CategoryBackColor, ShowTimeColor through ShowingAdvancedToolTip event. 
We regret to know you that schedule control ShowingAdvancedToolTip Event dont have a support for customization like fontstyle, size change. 
 
Code Snippet 
private void Form1_ShowingAdvancedToolTip(object sender, ScheduleGrid.ShowingAdvancedTooltipEventArgs e) 
        { 
            e.Subject = "NameChanged"; 
            e.BorderColor = Color.Gray; 
            e.CategoryBackColor = Color.Green; 
            e.ShowTimeColor = Color. Red; 
        } 
 
 
 
We have attached the sample for your reference. You can download the same from the following link 
 
Please let us know if you would require further assistance. 
 
Regards, 
Balamurugan Thirumalaikumar 



EM Eddy MARIANNE January 11, 2021 02:46 PM UTC

Thank you Balamuruga, but that's not what I need, I think I didn't manage to make my question clear...

I need to customize the tooltip with information from data stored in the IScheduleAppointment instance that is related to the hovered item. With the ShowingAdvancedToolTip event, I can cutomize the aspect but can't find the way to retrieve the information I want to display in the tooltip (from the appointment object). Is there a way for this in this context ?

Hope the demand is well-understandable.


BT Balamurugan Thirumalaikumar Syncfusion Team January 12, 2021 02:17 PM UTC

Hi Eddy, 

Thanks for the update. 

We could understand reported scenario, we have forwarded the question to our development team, will update the validation details on 13-01-2020. 

Regards 
Balamurugan 



BT Balamurugan Thirumalaikumar Syncfusion Team January 13, 2021 07:18 AM UTC

Hi Eddy,  
  
Thank you for your patience.  
  
We have checked your requirement of “Support to get appointment details through ShowingAdvancedToolTip event” in Schedule WinForms. we have logged a feature request. We will implement this feature in any of our upcoming releases.   
  
At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest. We will let you know when this feature is implemented. We appreciate your patience until then.  
  
Thank you for requesting this feature and helping us define it. We are always trying to make our products better and feature requests like yours are a key part of our product growth efforts.  
   
You can also communicate with us regarding the open features any time using our Feature Report page.   
  
We will prioritize the features every release based on the demands and we do not have an immediate plan to implement this feature since we committed with already planned work. So, this feature will be available in any of our upcoming releases.   
​  
Please upvote this feature to make this our priority. While this feature itself is important we will prioritize the features every release, based on the user demands. So, this feature will be available in any of our upcoming releases  
   
   
If you have any more specification/suggestions to the feature request, you can add it as a comment in the portal and cast your vote to make it count.  
  
Regards, 
Balamurugan Thirumalaikumar

Loader.
Up arrow icon