diff options
Diffstat (limited to 'Xamarin.PropertyEditing.Windows.Standalone/MainWindow.xaml.cs')
-rw-r--r-- | Xamarin.PropertyEditing.Windows.Standalone/MainWindow.xaml.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.PropertyEditing.Windows.Standalone/MainWindow.xaml.cs b/Xamarin.PropertyEditing.Windows.Standalone/MainWindow.xaml.cs index 7fedb09..1b1c6ee 100644 --- a/Xamarin.PropertyEditing.Windows.Standalone/MainWindow.xaml.cs +++ b/Xamarin.PropertyEditing.Windows.Standalone/MainWindow.xaml.cs @@ -35,8 +35,8 @@ namespace Xamarin.PropertyEditing.Windows.Standalone inspectedObject = mockedControl.MockedControl; if (mockedControl is MockedSampleControlButton mockedButton) { IObjectEditor editor = await this.panel.EditorProvider.GetObjectEditorAsync (inspectedObject); - await mockedButton.SetBrush (editor, new CommonSolidBrush (20, 120, 220, 240, "sRGB")); - await mockedButton.SetReadOnlyBrush (editor, new CommonSolidBrush (240, 220, 15, 190)); + await mockedButton.SetBrushInitialValue (editor, new CommonSolidBrush (20, 120, 220, 240, "sRGB")); + await mockedButton.SetReadOnlyBrushInitialValue (editor, new CommonSolidBrush (240, 220, 15, 190)); } } |