|
|
@ -4,7 +4,6 @@ |
|
|
using System; |
|
|
using System; |
|
|
using System.Globalization; |
|
|
using System.Globalization; |
|
|
using System.Linq; |
|
|
using System.Linq; |
|
|
using System.Runtime.CompilerServices; |
|
|
|
|
|
using OmniXaml; |
|
|
using OmniXaml; |
|
|
using OmniXaml.TypeConversion; |
|
|
using OmniXaml.TypeConversion; |
|
|
using Perspex.Styling; |
|
|
using Perspex.Styling; |
|
|
@ -55,9 +54,6 @@ namespace Perspex.Markup.Xaml.Converters |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Ensure the type's static ctor has been run.
|
|
|
|
|
|
RuntimeHelpers.RunClassConstructor(type.TypeHandle); |
|
|
|
|
|
|
|
|
|
|
|
// First look for non-attached property on the type and then look for an attached property.
|
|
|
// First look for non-attached property on the type and then look for an attached property.
|
|
|
var property = PerspexPropertyRegistry.Instance.FindRegistered(type, s); |
|
|
var property = PerspexPropertyRegistry.Instance.FindRegistered(type, s); |
|
|
|
|
|
|
|
|
|