1234567891011121314151617181920212223242526272829303132333435363738 |
- using System;
- using System.Collections.Generic;
- using System.Windows;
- using System.Windows.Controls;
- using OpenSEMI.ClientBase;
- namespace VirgoUI.Client.Models.Controls
- {
- /// <summary>
- /// LoadLockFrontView.xaml 的交互逻辑
- /// </summary>
- public partial class LoadLockFrontView : UserControl
- {
- public LoadLockFrontView()
- {
- 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(LoadLockFrontView), 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(LoadLockFrontView), new UIPropertyMetadata(true));
- #endregion
- }
- }
|