using System.Windows.Controls; namespace WWPipeLine.WPF { /// /// Properties.xaml 的交互逻辑 /// public partial class PropertiesEx : UserControl { public PropertiesEx(string name,string value) { InitializeComponent(); m_PropName.Content = name; m_PropValue.Content = value; } public Label PropName { get { return this.m_PropName; } } public Label PropValue { get { return this.m_PropValue; } } } }