c# - How to make Silverlight Dataform EditTemplate show controls based on checkbox state? -


i want use xaml little code-behind possible. have dataform custom edit template looks this:


[ x ] checkbox 1

[ control panel ]


i want display set of controls below "checkbox 1" control (where control panel is) if checkbox 1 checked, , if it's unchecked want display different set of controls.

i using silverlight 4 (soon use sl 5). there silverlight control holder lets me "switch" active panel visible setting "activepanel" id or something?

thanks

if familiar mvvm can bind visibility of grids same property checkbox.ischecked binded (of course must use right converters).


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -