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
Post a Comment