We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

DockingManager setting tooltip on label

Hi,

On docking Manager, is it possible to

1. set a status message next to Label on a DockPanel (and/or change the font size of label)

2. set a tooltip on the label (or a status label if possible to have one) ?

Thank you for your help.



1 Reply

AD Administrator Syncfusion Team July 1, 2008 06:11 AM UTC

Hi Sean,

Thank you for using Syncfusion products.

Set status message next to DockLabel

You can display the DockState of the control when its DockState is changed next to the DockLabel and this can be achieved by setting custom DockLabel in dockingManager1_DockStateChanging event handler.

The following code snippet illustrates this.

[C#]

private void dockingManager1_DockStateChanging(object sender, Syncfusion.Windows.Forms.Tools.DockStateChangeEventArgs arg)
{
String s = "MyPanel,Status : ";
String s1=this.dockingManager1.GetDockStyle(this.panel1).ToString();
String s2=s+s1;
this.dockingManager1.SetDockLabel(this.panel1,s2 );
}

Changing the font size of DockLabel

Please refer the below tutorial link on this.

http://www2.syncfusion.com/ug_63/toolswin/ActiveAndInactiveCaption.html

Setting tooltip for DockLabel

Currently we don't have support for this feature in our code library.

Please let me know if you have any other questions.

Regards,
Jaya



Loader.
Live Chat Icon For mobile
Up arrow icon