xaml - How to force a WPF control or its bindings to load before it's visible -


for efficiency, appears wpf loads visual elements when necessary. if need them load when parent loads?

for example, have split-button control drop-down checklistbox. each checklistbox item bound isselected property , select command. changing isselected in viewmodel has same effect clicking row in control, once drop-down portion of control loaded. before select command doesn't react changes in isselected property (presumably) because binding , command don't yet exist. there clean way force split-button's contents load @ same time it's parent loads, or otherwise connect it's bindings @ initialization rather when first entering visual tree?


Comments

Popular posts from this blog

SVG stroke-linecap doesn't work for circles in Firefox? -

routes - Laravel 4 Wildcard Routing to Different Controllers -

cross browser - XSLT namespace-alias Not Working in Firefox or Chrome -