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 { /// /// ReservoirsInformationPanel.xaml 的交互逻辑 /// public partial class ReservoirsInformationPanel : UserControl { public ReservoirsInformationPanel() { InitializeComponent(); } #region 属性 public static readonly DependencyProperty ModuleTitleProperty = DependencyProperty.Register( "ModuleTitle", typeof(string), typeof(ReservoirsInformationPanel), new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.AffectsRender)); /// /// 标题 /// public string ModuleTitle { get { return (string)this.GetValue(ModuleTitleProperty); } set { this.SetValue(ModuleTitleProperty, value); } } public static readonly DependencyProperty RecipeContentProperty = DependencyProperty.Register( "RecipeContentValue", typeof(string), typeof(ReservoirsInformationPanel), new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.AffectsRender)); /// /// RecipeContentValue /// public string RecipeContentValue { get { return (string)this.GetValue(RecipeContentProperty); } set { this.SetValue(RecipeContentProperty, value); } } public static readonly DependencyProperty OperatingModeProperty = DependencyProperty.Register( "OperatingModeValue", typeof(string), typeof(ReservoirsInformationPanel), new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.AffectsRender)); /// /// OperatingMode /// public string OperatingModeValue { get { return (string)this.GetValue(OperatingModeProperty); } set { this.SetValue(OperatingModeProperty, value); } } public static readonly DependencyProperty RecipeModeProperty = DependencyProperty.Register( "RecipeModeValue", typeof(string), typeof(ReservoirsInformationPanel), new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.AffectsRender)); /// /// RecipeMode /// public string RecipeModeValue { get { return (string)this.GetValue(RecipeModeProperty); } set { this.SetValue(RecipeModeProperty, value); } } public static readonly DependencyProperty StateProperty = DependencyProperty.Register( "StateValue", typeof(string), typeof(ReservoirsInformationPanel), new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.AffectsRender)); /// /// State /// public string StateValue { get { return (string)this.GetValue(StateProperty); } set { this.SetValue(StateProperty, value); } } #endregion } }