using Xamarin.PropertyEditing.Drawing; using Xamarin.PropertyEditing.Tests.MockControls; namespace Xamarin.PropertyEditing.Windows.Standalone { public class MockedSampleControlButton : MockedControlButton { public MockedSampleControlButton () : base (new MockSampleControl ()) { // TODO: Move the declaration of this property to MockSampleControl once SolidBrush is supported on both platforms. var brushPropertyInfo = new BrushPropertyInfo ("SolidBrush", "Windows Only", true, new[] { "RGB", "sRGB" }); MockedControl.AddProperty (brushPropertyInfo); MockedControl.SetValue(brushPropertyInfo, new CommonSolidBrush(20, 120, 220, 240, "sRGB")); } } }