Profile Picture

NDockingPanel caption size

Posted By Joël Golinucci 8 Years Ago
Author
Message
Joël Golinucci
Posted 8 Years Ago
View Quick Profile
Junior Member

Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)

Group: Forum Members
Last Active: 6 Years Ago
Posts: 30, Visits: 61
Hello,

I'm trying to desing an application that will be used on a touch panel thin client over RDP. Therefore I would like to increase the NDockingPanels caption bar height as well as the docking buttons so that they will be easyier to work with via touch panel.

Where and how can I change these caption bar ?

Thank you for your answer,

Best regards,
Joël

Joël Golinucci
Posted 8 Years Ago
View Quick Profile
Junior Member

Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)

Group: Forum Members
Last Active: 6 Years Ago
Posts: 30, Visits: 61
Up.

Is there any way to change the caption bar size on a NDockingPanel ?

Thanks for the help.

Nevron Support
Posted 8 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)

Group: Forum Members
Last Active: 9 hours ago
Posts: 2,962, Visits: 3,363
Hello Joel,

All you need to do is to set NDockManager.CaptionStyle.AutomaticHeight to false and to set NDockManager.CaptionStyle.Height to the desired value:

manager.CaptionStyle.AutomaticHeight = false;
manager.CaptionStyle.Height = captionHeight;

Best Regards,
Nevron Support Team



Joël Golinucci
Posted 8 Years Ago
View Quick Profile
Junior Member

Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)

Group: Forum Members
Last Active: 6 Years Ago
Posts: 30, Visits: 61
Hello,

Thanks a lot for your quick answer. It works perfectly.
I didn't thought of checking with the manager. I was trying on the docking panels directly !

Best regards,
Joël



Similar Topics


Reading This Topic