diff options
Diffstat (limited to 'Xamarin.PropertyEditing.Windows.Standalone')
-rw-r--r-- | Xamarin.PropertyEditing.Windows.Standalone/MockedSampleControlButton.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Xamarin.PropertyEditing.Windows.Standalone/MockedSampleControlButton.cs b/Xamarin.PropertyEditing.Windows.Standalone/MockedSampleControlButton.cs index 4341af8..b9303ea 100644 --- a/Xamarin.PropertyEditing.Windows.Standalone/MockedSampleControlButton.cs +++ b/Xamarin.PropertyEditing.Windows.Standalone/MockedSampleControlButton.cs @@ -8,10 +8,10 @@ namespace Xamarin.PropertyEditing.Windows.Standalone public MockedSampleControlButton () : base (new MockSampleControl ()) { // TODO: Move the declaration of this property to MockSampleControl once SolidBrush is supported on both platforms. - var brushPropertyInfo = new SolidBrushPropertyInfo ("SolidBrush", "Windows Only", true, + var brushPropertyInfo = new BrushPropertyInfo ("SolidBrush", "Windows Only", true, new[] { "RGB", "sRGB" }); - MockedControl.AddProperty<CommonSolidBrush> (brushPropertyInfo); - MockedControl.SetValue(brushPropertyInfo, + MockedControl.AddProperty<CommonBrush> (brushPropertyInfo); + MockedControl.SetValue<CommonBrush>(brushPropertyInfo, new CommonSolidBrush(20, 120, 220, 240, "sRGB")); } } |