# How to hide invite button in C# wrapper

**URL:** <https://devforum.zoom.us/t/how-to-hide-invite-button-in-c-wrapper/6054>\
**Category:** Windows\
**Created:** [September 29, 2019, 2:48pm UTC](https://devforum.zoom.us/t/how-to-hide-invite-button-in-c-wrapper/6054 "2019-09-29T14:48:57Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajay7464](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ajay7464/32/1950_2.png) [@ajay7464](https://devforum.zoom.us/u/ajay7464)\
**Post date:** [September 29, 2019, 2:48pm UTC](https://devforum.zoom.us/t/how-to-hide-invite-button-in-c-wrapper/6054/1 "2019-09-29T14:48:57Z")

</div>

**Description**  
I’ve created a WPF application with **[zoom-c-sharp-wrapper](https://github.com/zoom/zoom-c-sharp-wrapper)** and i want to hide the invite button

**Which version?**  
v4.4.55968.0904

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [September 30, 2019, 5:52am UTC](https://devforum.zoom.us/t/how-to-hide-invite-button-in-c-wrapper/6054/2 "2019-09-30T05:52:41Z")

</div>

Hi ajay7464,

Thanks for using Zoom SDK. You can use `IMeetingConfigurationDotNetWrap.EnableInviteButtonOnMeetingUI` to hide the invite button:[https://github.com/zoom/zoom-c-sharp-wrapper/blob/5500fbaac55b10068f1f05b166755048a8ca2034/zoom\_sdk\_c\_sharp\_wrap/meeting\_configuration\_dotnet\_wrap.cpp#L177](https://github.com/zoom/zoom-c-sharp-wrapper/blob/5500fbaac55b10068f1f05b166755048a8ca2034/zoom_sdk_c_sharp_wrap/meeting_configuration_dotnet_wrap.cpp#L177)

Thanks!

---

<div class="post-metadata">

**Author:** ![ajay7464](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ajay7464/32/1950_2.png) [@ajay7464](https://devforum.zoom.us/u/ajay7464)\
**Post date:** [October 1, 2019, 5:56am UTC](https://devforum.zoom.us/t/how-to-hide-invite-button-in-c-wrapper/6054/3 "2019-10-01T05:56:04Z")

</div>

> [@carson.zoom](#):
>
> `EnableInviteButtonOnMeetingUI`

Thanks!

Is there any option to hide participants list

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [October 1, 2019, 10:36pm UTC](https://devforum.zoom.us/t/how-to-hide-invite-button-in-c-wrapper/6054/4 "2019-10-01T22:36:19Z")

</div>

Hi,

Thanks for the reply. We do not have the option to hide the participant list, but you can customize the event when the participant list is clicked:

> <https://github.com/zoom/zoom-c-sharp-wrapper/blob/5500fbaac55b10068f1f05b166755048a8ca2034/zoom_sdk_c_sharp_wrap/meeting_ui_ctrl_dotnet_wrap.h#L56>

> <https://github.com/zoom/zoom-c-sharp-wrapper/blob/5500fbaac55b10068f1f05b166755048a8ca2034/zoom_sdk_c_sharp_wrap/meeting_configuration_dotnet_wrap.h#L68>

Thanks!

---

<div class="post-metadata">

**Author:** ![ajay7464](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ajay7464/32/1950_2.png) [@ajay7464](https://devforum.zoom.us/u/ajay7464)\
**Post date:** [October 2, 2019, 11:30am UTC](https://devforum.zoom.us/t/how-to-hide-invite-button-in-c-wrapper/6054/5 "2019-10-02T11:30:56Z")

</div>

I’ve used ZOOM\_SDK\_DOTNET\_WRAP.CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().GetUIController().Add\_CB\_onParticipantListBtnClicked( **onParticipantListBtnClicked** );

to assign a new event **onParticipantListBtnClicked** but didn’t got any success

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [October 2, 2019, 8:24pm UTC](https://devforum.zoom.us/t/how-to-hide-invite-button-in-c-wrapper/6054/6 "2019-10-02T20:24:33Z")

</div>

Hi [ajay7464](https://devforum.zoom.us/u/ajay7464),

Thanks for the reply. Pardon that I did not mention clear in my previous reply. You need to implement the above 2 methods in the following order:

1. Implement the `RedirectClickParticipantListBTNEvent` method to redirect the event when a user clicks the participant button.
2. Once you get the event, you can implement the callback `onParticipantListBtnClicked` to redefine the functionalities behind this button, and to achieve what you want.

So in your case, if you have not implemented the `RedirectClickParticipantListBTNEvent`, you won’t have any responses in the `onParticipantListBtnClicked` callback.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![ajay7464](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ajay7464/32/1950_2.png) [@ajay7464](https://devforum.zoom.us/u/ajay7464)\
**Post date:** [October 3, 2019, 5:03am UTC](https://devforum.zoom.us/t/how-to-hide-invite-button-in-c-wrapper/6054/7 "2019-10-03T05:03:11Z")

</div>

It works.

Thanks for your support.

One more thing.

 ![participants](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/0/06e20d4bc8eb4387e8323a126b32052927ab56a5.jpeg)

Is there any way to hide these options.

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [October 3, 2019, 6:19pm UTC](https://devforum.zoom.us/t/how-to-hide-invite-button-in-c-wrapper/6054/8 "2019-10-03T18:19:03Z")

</div>

Hi [ajay7464](https://devforum.zoom.us/u/ajay7464),

Thanks for the reply. We do not have the option to hide the gallery view. You may refer to the interfaces in [https://github.com/zoom/zoom-sdk-electron/blob/master/lib/zoom\_meeting\_ui\_ctrl.js](https://github.com/zoom/zoom-sdk-electron/blob/master/lib/zoom_meeting_ui_ctrl.js) for the options that we are offering.

Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 6:43pm UTC](https://devforum.zoom.us/t/how-to-hide-invite-button-in-c-wrapper/6054/9 "2020-08-21T18:43:48Z")

</div>


