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 { /// /// PrewetFLowControl.xaml 的交互逻辑 /// 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); } } } }