数据新手 [英] New to Data

查看:78
本文介绍了数据新手的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨。

我在Blend中有一个WPF应用程序。

I have a WPF application in Blend.

在应用程序中我想在右边有一个列表框列出单词的一面。

In the application I want to have a listbox on the right side that lists words.

当用户点击某个单词时,我想在左侧显示单词,说明和其他文字的较大文字。

When the user clicks on a word, I want to appear on the left a bigger text of the word, description, and some other text.

我明白要列出列表框中的所有单词,我需要对包含单词,描述和其他文本的数据进行数据绑定。

I understand that to list all the words in the listbox I need to databind data that contains the words, description and other text.

我是新手这个数据绑定。

I'm new to this data binding.

有人可以帮我在Expression Blend 4中如何做到这一点吗?

Can someone please help me how to do this in Expression Blend 4?

谢谢!

推荐答案

Blend帮助文档的标题为"创建列表详细信息数据绑定"的说明

The Blend help document has such instruction titled "Create a list-details data binding"

简而言之,您可以使用列表和详细信息模式来执行此操作:

只需拖动数据源列表并将其拖放到列表框中,Blend将为您设置数据绑定,

然后单击在"详细模式"中按钮,从datapane拖动单词并拖放到画板,Blend将生成绑定。

In brief, you may use the list and detail mode to do that:
Simply drag the list of datasource and drop to the listbox, Blend would set the databinding for you,
Then click on the "Details Mode" button, drag the word from datapane and drop to artboard, Blend would generate the binding.

 


这篇关于数据新手的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆