By JSW W. - Friday, November 4, 2011
I need to add my own buttons especially on the left of the title of nuipanel. I willing to pay some fee, if you don't have this feature yet.
Thanks
|
By Nevron Support - Friday, November 4, 2011
Hello JSW W.,
I guess you are asking about docking panel not NUIPanel.
if so, you can add a button to the right side of the panels' header using NCaptionButton:
NCaptionButton button = new NCaptionButton(buttonID); nDockingPanel1.Caption.Buttons.Add(button);
There are predefined buttonID's defined in CaptionButtonID enum. However, you can set any int value for button's ID.
To handle button's click event you need to attach to panels's CaptionButtonCliecked event.
|
|