From 3487f066bfee809a476052de5a196f22a8735ff9 Mon Sep 17 00:00:00 2001 From: Dominique Louis Date: Wed, 28 Nov 2018 13:16:52 +0000 Subject: [Mac] Only in Debug Mode, highlight which controls haven't been implemented yet. --- Xamarin.PropertyEditing.Mac/Controls/EditorContainer.cs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'Xamarin.PropertyEditing.Mac/Controls') diff --git a/Xamarin.PropertyEditing.Mac/Controls/EditorContainer.cs b/Xamarin.PropertyEditing.Mac/Controls/EditorContainer.cs index 4795fbe..e91a3df 100644 --- a/Xamarin.PropertyEditing.Mac/Controls/EditorContainer.cs +++ b/Xamarin.PropertyEditing.Mac/Controls/EditorContainer.cs @@ -30,13 +30,11 @@ namespace Xamarin.PropertyEditing.Mac } } - public IEditorView EditorView - { + public IEditorView EditorView { get; } - public string Label - { + public string Label { get { return this.label.StringValue; } set { this.label.StringValue = value; } } @@ -45,5 +43,11 @@ namespace Xamarin.PropertyEditing.Mac Alignment = NSTextAlignment.Right, TranslatesAutoresizingMaskIntoConstraints = false }; + +#if DEBUG // Currently only used to highlight which controls haven't been implemented + public NSColor LabelTextColor { + set { this.label.TextColor = value; } + } +#endif } } -- cgit v1.2.3