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:
authorDominique Louis <savagesoftware@gmail.com>2018-11-30 19:02:05 +0300
committerGitHub <noreply@github.com>2018-11-30 19:02:05 +0300
commitf80e7ff3c1c16f95a4e834f59858fd7fbe69f5b3 (patch)
tree4a9fe21baa684bb1f743998b24f79eb0675d3d4a /Xamarin.PropertyEditing.Mac/Controls
parent8314557bfadfa5d1632879e30fd45e83b7e4af60 (diff)
parent3487f066bfee809a476052de5a196f22a8735ff9 (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.cs12
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
}
}