44 lines
1.4 KiB
C#
44 lines
1.4 KiB
C#
using System;
|
|
using System.Windows;
|
|
using System.Windows.Controls;
|
|
using VisionCommon;
|
|
|
|
namespace VisionUI.Layout
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for CoordSysComboBoxView.xaml
|
|
/// </summary>
|
|
public partial class CoordSysComboBoxView : UserControl {
|
|
private static Type _classType = typeof(CoordSysComboBoxView);
|
|
/// <summary>
|
|
/// 좌표계 시스템 타입 DepdencyProperty
|
|
/// </summary>
|
|
public static readonly DependencyProperty CoordSysTypeProperty
|
|
= DependencyProperty.Register(
|
|
nameof(CoordSysType),
|
|
typeof(eCoordSysType),
|
|
_classType,
|
|
new FrameworkPropertyMetadata(
|
|
eCoordSysType.RotX_0,
|
|
FrameworkPropertyMetadataOptions.BindsTwoWayByDefault
|
|
));
|
|
/// <summary>
|
|
/// 좌표계 시스템 타입
|
|
/// </summary>
|
|
public eCoordSysType CoordSysType {
|
|
get { return (eCoordSysType)GetValue(CoordSysTypeProperty); }
|
|
set { SetValue(CoordSysTypeProperty, value); }
|
|
}
|
|
/// <summary>
|
|
/// 생성자
|
|
/// </summary>
|
|
public CoordSysComboBoxView() {
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void ComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e) {
|
|
|
|
}
|
|
}
|
|
}
|