123456789101112131415161718192021222324252627282930 |
- using OpenSEMI.Ctrlib.Types;
- using System.Windows;
- using System.Windows.Controls;
- namespace OpenSEMI.Ctrlib.Controls
- {
- public class GaslineJoint : Control
- {
- public static readonly DependencyProperty JointTypeProperty;
- public JointType JointType
- {
- get
- {
- return (JointType)GetValue(JointTypeProperty);
- }
- set
- {
- SetValue(JointTypeProperty, value);
- }
- }
- static GaslineJoint()
- {
- JointTypeProperty = DependencyProperty.Register("JointType", typeof(JointType), typeof(GaslineJoint), new PropertyMetadata(JointType.CROSS));
- FrameworkElement.DefaultStyleKeyProperty.OverrideMetadata(typeof(GaslineJoint), new FrameworkPropertyMetadata(typeof(GaslineJoint)));
- }
- }
- }
|