I want to perform 2 operations from toggle button using two images which changes on click event.
Can anyone make a demo for this using binding,triggers,styles etc in xaml.
Thank you
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Paras KharbandaPosted Oct 28, 2014, 1:31 AM
I want the solution in a simple way-just a simple toggle button and two operations on it with changing image.
Thank you
Panna SinhaPosted Oct 16, 2014, 2:14 AM
Hi,
Please paste the below xaml code into your MainWindow.xaml file. No code behind is required.
Paras KharbandaPosted Oct 15, 2014, 6:51 AM
Panna SinhaPosted Oct 14, 2014, 2:52 AM
Please check the attached sample.