Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Post: MessageBox with CheckBox

$
0
0
Hi,

If you look at MessageBox.OnApplyTemplate() method, there is a call to "ChangeVisualState( _button.ToString(), true );".
This will set the VisualState to use (to good sets of buttons).
In XAML, the MessageBoxTemplate contains the VisualStates for each sets of buttons, modifying their visibility to show them according to the current visualState.
The VisalStates are :
OK
OKCancel
YesNo
YesNoCancel

Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>