| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 | 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 PunkHPX8_Themes.UserControls{    /// <summary>    /// PrewetFLowControl.xaml 的交互逻辑    /// </summary>    public partial class PrewetFLowControl : UserControl    {        public PrewetFLowControl()        {            InitializeComponent();        }        public static readonly DependencyProperty IsShowProperty = DependencyProperty.Register(           "IsShow", typeof(bool), typeof(FlowPipe),           new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender));        public bool IsShow        {            get { return (bool)this.GetValue(IsShowProperty); }            set { this.SetValue(IsShowProperty, value); }        }        public static readonly DependencyProperty ColorProperty = DependencyProperty.Register(      "Color", typeof(string), typeof(FlowPipe),      new FrameworkPropertyMetadata("DeepSkyBlue", FrameworkPropertyMetadataOptions.AffectsRender));        public string Color        {            get { return (string)this.GetValue(ColorProperty); }            set { this.SetValue(ColorProperty, value); }        }    }}
 |