diff options
author | Dominique Louis <savagesoftware@gmail.com> | 2018-11-30 19:02:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-30 19:02:05 +0300 |
commit | f80e7ff3c1c16f95a4e834f59858fd7fbe69f5b3 (patch) | |
tree | 4a9fe21baa684bb1f743998b24f79eb0675d3d4a /Xamarin.PropertyEditing.Mac/Controls | |
parent | 8314557bfadfa5d1632879e30fd45e83b7e4af60 (diff) | |
parent | 3487f066bfee809a476052de5a196f22a8735ff9 (diff) |
Merge pull request #461 from xamarin/dominique-HighlistUnimplementedControls
[Mac] Only in Debug Mode, highlight which controls haven't been impleā¦
Diffstat (limited to 'Xamarin.PropertyEditing.Mac/Controls')
-rw-r--r-- | Xamarin.PropertyEditing.Mac/Controls/EditorContainer.cs | 12 |
1 files changed, 8 insertions, 4 deletions
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 } } |