添加项目文件。

This commit is contained in:
akwkevin
2021-07-23 09:42:22 +08:00
commit f25a958797
2798 changed files with 352360 additions and 0 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);
}
}
}