项目结构调整

This commit is contained in:
艾竹
2023-04-16 20:11:40 +08:00
parent cbfbf96033
commit 81f91f3f35
2124 changed files with 218 additions and 5516 deletions

View File

@@ -0,0 +1,22 @@
using Windows.UI.Xaml;
namespace LiveCharts.Uwp.Components
{
/// <summary>
///
/// </summary>
public static class DependencyObjectExtensions
{
/// <summary>
/// Sets if not set.
/// </summary>
/// <param name="o">The o.</param>
/// <param name="dp">The dp.</param>
/// <param name="value">The value.</param>
public static void SetIfNotSet(this DependencyObject o, DependencyProperty dp, object value)
{
if (o.ReadLocalValue(dp) == DependencyProperty.UnsetValue)
o.SetValue(dp, value);
}
}
}