using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace CyberX8_Themes.UserControls
{
    /// <summary>
    /// TempControl.xaml 的交互逻辑
    /// </summary>
    public partial class TempControl : UserControl
    {
        public TempControl()
        {
            InitializeComponent();
        }
        public static readonly DependencyProperty ModuleNameProperty = DependencyProperty.Register(
            "ModuleName", typeof(string), typeof(TempControl));
        public string ModuleName
        {
            get { return (string)this.GetValue(ModuleNameProperty); }
            set { this.SetValue(ModuleNameProperty, value); }
        }
        public static readonly DependencyProperty TempValueProperty = DependencyProperty.Register(
            "TempValue", typeof(string), typeof(TempControl));
        public string TempValue
        {
            get { return (string)this.GetValue(TempValueProperty); }
            set { this.SetValue(TempValueProperty, value); }
        }

        public static readonly DependencyProperty DisableStatusProperty = DependencyProperty.Register(
          "DisableStatus", typeof(string), typeof(TempControl), new FrameworkPropertyMetadata("Disabled", FrameworkPropertyMetadataOptions.AffectsRender));
        /// <summary>
        /// 可用性状态
        /// </summary>
        public string DisableStatus
        {
            get
            {
                return (string)this.GetValue(DisableStatusProperty);
            }
            set
            {
                this.SetValue(DisableStatusProperty, value);
            }
        }
        public static readonly DependencyProperty StatusProperty = DependencyProperty.Register(
         "Status", typeof(string), typeof(TempControl), new FrameworkPropertyMetadata("UnInitialized", FrameworkPropertyMetadataOptions.AffectsRender));
        /// <summary>
        /// 状态
        /// </summary>
        public string Status
        {
            get
            {
                return (string)this.GetValue(StatusProperty);
            }
            set
            {
                this.SetValue(StatusProperty, value);
            }
        }
    }
}