Is it possible to add user/custom button on nuipanel bar?


Author
Message
JSW W.
JSW W.
Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)
Group: Forum Members
Posts: 127, Visits: 1
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
Attachments
dockingpanel.gif (234 views, 6.00 KB)
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
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.



Best Regards,
Nevron Support Team


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search