refactor: 将Framework库和RT、UI放在同一个解决方案中。
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using MECF.Framework.UI.Client.ClientBase;
|
||||
|
||||
namespace MECF.Framework.UI.Client.Ctrlib.UnitControls
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for FOUPFrontView.xaml
|
||||
/// </summary>
|
||||
public partial class FOUPFrontView : UserControl
|
||||
{
|
||||
public FOUPFrontView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
#region UnitData (DependencyProperty)
|
||||
public ModuleInfo UnitData
|
||||
{
|
||||
get { return (ModuleInfo)GetValue(UnitDataProperty); }
|
||||
set { SetValue(UnitDataProperty, value); }
|
||||
}
|
||||
public static readonly DependencyProperty UnitDataProperty =
|
||||
DependencyProperty.Register("UnitData", typeof(ModuleInfo), typeof(FOUPFrontView), new UIPropertyMetadata(null));
|
||||
|
||||
public bool ShowTitle
|
||||
{
|
||||
get { return (bool)GetValue(ShowTitleProperty); }
|
||||
set { SetValue(ShowTitleProperty, value); }
|
||||
}
|
||||
public static readonly DependencyProperty ShowTitleProperty =
|
||||
DependencyProperty.Register("ShowTitle", typeof(bool), typeof(FOUPFrontView), new UIPropertyMetadata(true));
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user