init branch
This commit is contained in:
1 parent
224cc4458b
commit
9f28dbbb67
17 files changed
+248
-11
No files matched your search
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Globalization;
|
||||
// ReSharper disable ConditionIsAlwaysTrueOrFalse
|
||||
// ReSharper disable HeuristicUnreachableCode
|
||||
|
||||
namespace HandyControl.Tools.Converter
|
||||
{
|
||||
public class NameReferenceConverter : System.Windows.Markup.NameReferenceConverter
|
||||
{
|
||||
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
|
||||
=> context == null ? null : base.ConvertFrom(context, culture, value);
|
||||
|
||||
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
|
||||
=> context == null ? null : base.ConvertTo(context, culture, value, destinationType);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user