PropertiesEx.xaml.cs 664 B

1234567891011121314151617181920212223242526272829303132
  1. using System.Windows.Controls;
  2. namespace WWPipeLine.WPF
  3. {
  4. /// <summary>
  5. /// Properties.xaml 的交互逻辑
  6. /// </summary>
  7. public partial class PropertiesEx : UserControl
  8. {
  9. public PropertiesEx(string name,string value)
  10. {
  11. InitializeComponent();
  12. m_PropName.Content = name;
  13. m_PropValue.Content = value;
  14. }
  15. public Label PropName
  16. {
  17. get
  18. {
  19. return this.m_PropName;
  20. }
  21. }
  22. public Label PropValue
  23. {
  24. get
  25. {
  26. return this.m_PropValue;
  27. }
  28. }
  29. }
  30. }