GaslineJoint.cs 750 B

1234567891011121314151617181920212223
  1. using System.Windows;
  2. using System.Windows.Controls;
  3. using OpenSEMI.Ctrlib.Types;
  4. namespace OpenSEMI.Ctrlib.Controls
  5. {
  6. public class GaslineJoint : Control
  7. {
  8. static GaslineJoint()
  9. {
  10. DefaultStyleKeyProperty.OverrideMetadata(typeof(GaslineJoint), new FrameworkPropertyMetadata(typeof(GaslineJoint)));
  11. }
  12. public JointType JointType
  13. {
  14. get { return (JointType)GetValue(JointTypeProperty); }
  15. set { SetValue(JointTypeProperty, value); }
  16. }
  17. public static readonly DependencyProperty JointTypeProperty = DependencyProperty.Register("JointType", typeof(JointType), typeof(GaslineJoint), new PropertyMetadata(JointType.CROSS));
  18. }
  19. }