摘要:
常用的TextBlock使用如下: TextBlock is designed to be lightweight, and is geared specifically at integrating small portions of flow content into a UI.Click Me By default, a TextBlock provides no UI beyond simply displaying its contents.Click Me显示如下:但是当碰到这种需求:一个字符窜,分三段组成,第一段一种字体,常量,第二段一种字体,并且需要绑定变量,第三段又是... 阅读全文
摘要:
TreeViewItem Msdn定义:TreeViewItem 是一个 HeaderedItemsControl,这意味着其标头和对象的集合可以是任何类型(如字符串、图像或面板)。有关更多信息,请参见 HeaderedItemsControl 类。TreeViewItem 控件可嵌入在其他 TreeViewItem 控件内,以在 TreeView 控件内创建一个节点层次结构。若要展开或折叠 TreeViewItem,请使用 IsExpanded 属性。有关 TreeView 控件的更多信息,请参见 TreeView 概述。自定义 TreeViewItem 控件若要对多个 TreeViewIt 阅读全文