Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

How to Add Button Controls and perform Click events

$
0
0

Hi,
How do we add button dynamically in a MonoMac Project and perform Click events.I want to write the code in cs file.i am not getting the button displayed even though i add a button programatically.
I wrote code such as

NSButton button= New NSButton();

But still i am i am not getting the button displayed.
Can anyone help me out .

Thanks in advance.


Viewing all articles
Browse latest Browse all 91519

Trending Articles