首次上传
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
|
||||
namespace OpenSEMI.Ctrlib.Controls
|
||||
{
|
||||
public class Gasline : Control
|
||||
{
|
||||
static Gasline()
|
||||
{
|
||||
DefaultStyleKeyProperty.OverrideMetadata(typeof(Gasline), new FrameworkPropertyMetadata(typeof(Gasline)));
|
||||
}
|
||||
|
||||
public Orientation Orientation
|
||||
{
|
||||
get { return (Orientation)GetValue(OrientationProperty); }
|
||||
set { SetValue(OrientationProperty, value); }
|
||||
}
|
||||
public static readonly DependencyProperty OrientationProperty = DependencyProperty.Register("Orientation", typeof(Orientation), typeof(Gasline), new PropertyMetadata(Orientation.Horizontal));
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user