开发者

DataGrid in SketchFlow Blendability

开发者 https://www.devze.com 2023-01-17 17:30 出处:网络
I am trying to figure out how to show two different states of a datagrid in Blend/SketchFlow on a page. I would like to show the datagrid empty on load of the page and then change it to show results d

I am trying to figure out how to show two different states of a datagrid in Blend/SketchFlow on a page. I would like to show the datagrid empty on load of the page and then change it to show results data using databinding with sample data when the Search key is pressed.

I have made two copies of the datagrid - one empty a开发者_Go百科nd one with data. I can over lay one with the other based on two states. Is this the best way to show this behavior, or is there some better way to change the Items binding or something.


As with so many things, it depends on your needs and goals.

If this is a mockup/prototype, what you did it probably the simplest/fastest route to your goal. If you need to make it more production ready, you should probably have a single datagrid and change its datacontext or data source.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号