123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- 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>
- /// ReservoirsInformationPanel.xaml 的交互逻辑
- /// </summary>
- 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));
- /// <summary>
- /// 标题
- /// </summary>
- 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));
- /// <summary>
- /// RecipeContentValue
- /// </summary>
- 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));
- /// <summary>
- /// OperatingMode
- /// </summary>
- 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));
- /// <summary>
- /// RecipeMode
- /// </summary>
- 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));
- /// <summary>
- /// State
- /// </summary>
- public string StateValue
- {
- get
- {
- return (string)this.GetValue(StateProperty);
- }
- set
- {
- this.SetValue(StateProperty, value);
- }
- }
- #endregion
- }
- }
|