Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xamarin/Xamarin.PropertyEditing.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Le Roy <beleroy@microsoft.com>2018-03-15 21:35:33 +0300
committerBertrand Le Roy <beleroy@microsoft.com>2018-03-15 21:40:07 +0300
commit996d986d1019234b9eecd462e7c3fb4b37c82910 (patch)
tree43a14d3f86e2923da018d9eabd9f7c285877d88a /Xamarin.PropertyEditing.Windows.Standalone
parent7007caf1d4422075adedea1c9cc74f167b2adc6c (diff)
Move BrushPropertyInfo out of the core and to the test project.
Diffstat (limited to 'Xamarin.PropertyEditing.Windows.Standalone')
-rw-r--r--Xamarin.PropertyEditing.Windows.Standalone/MockedSampleControlButton.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/Xamarin.PropertyEditing.Windows.Standalone/MockedSampleControlButton.cs b/Xamarin.PropertyEditing.Windows.Standalone/MockedSampleControlButton.cs
index 624d84f..ef6ff12 100644
--- a/Xamarin.PropertyEditing.Windows.Standalone/MockedSampleControlButton.cs
+++ b/Xamarin.PropertyEditing.Windows.Standalone/MockedSampleControlButton.cs
@@ -1,6 +1,7 @@
using System.Threading.Tasks;
using Xamarin.PropertyEditing.Drawing;
using Xamarin.PropertyEditing.Tests.MockControls;
+using Xamarin.PropertyEditing.Tests.MockPropertyInfo;
namespace Xamarin.PropertyEditing.Windows.Standalone
{
@@ -9,20 +10,20 @@ 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.
- this.brushPropertyInfo = new BrushPropertyInfo (
+ this.brushPropertyInfo = new MockBrushPropertyInfo (
name: "SolidBrush",
category: "Windows Only",
canWrite: true,
colorSpaces: new[] { "RGB", "sRGB" });
MockedControl.AddProperty<CommonBrush> (this.brushPropertyInfo);
- this.materialDesignBrushPropertyInfo = new BrushPropertyInfo (
+ this.materialDesignBrushPropertyInfo = new MockBrushPropertyInfo (
name: "MaterialDesignBrush",
category: "Windows Only",
canWrite: true);
MockedControl.AddProperty<CommonBrush> (this.materialDesignBrushPropertyInfo);
- this.readOnlyBrushPropertyInfo = new BrushPropertyInfo (
+ this.readOnlyBrushPropertyInfo = new MockBrushPropertyInfo (
name: "ReadOnlySolidBrush",
category: "Windows Only",
canWrite: false);