From 474e35db3ecb0cd0ca6f7e46566692f4818a9572 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=B8=AD=E6=95=AC?= <471883209@qq.com> Date: Tue, 29 Oct 2024 20:29:04 +0800 Subject: [PATCH] Timeline Add ShadowColor Timeline Add ShadowColor --- .../Panuon.WPF.UI/Controls/Timeline.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/SourceCode/SharedResources/Panuon.WPF.UI/Controls/Timeline.cs b/SourceCode/SharedResources/Panuon.WPF.UI/Controls/Timeline.cs index 7b58a71..7b0ff1a 100644 --- a/SourceCode/SharedResources/Panuon.WPF.UI/Controls/Timeline.cs +++ b/SourceCode/SharedResources/Panuon.WPF.UI/Controls/Timeline.cs @@ -83,6 +83,17 @@ public CornerRadius CornerRadius VisualStateHelper.CornerRadiusProperty.AddOwner(typeof(Timeline)); #endregion + #region ShadowColor + public Color? ShadowColor + { + get { return (Color?)GetValue(ShadowColorProperty); } + set { SetValue(ShadowColorProperty, value); } + } + + public static readonly DependencyProperty ShadowColorProperty = + VisualStateHelper.ShadowColorProperty.AddOwner(typeof(Timeline)); + #endregion + #region Items Properties #region ItemsWidth