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:
authorLarry Ewing <lewing@microsoft.com>2018-07-14 05:48:36 +0300
committerLarry Ewing <lewing@microsoft.com>2018-07-16 22:05:49 +0300
commitdccfe8d8808a21f5af393f5c165ff31bdbc502d1 (patch)
tree5d10748c229e8ef67ac5bd26ae01ee0fe16035f3
parent4fae4441c00171a4ddecf9045d383e8732a83790 (diff)
Draw icons if the image is set
-rw-r--r--Xamarin.PropertyEditing.Mac/Controls/Custom/BrushTabViewController.cs12
-rw-r--r--Xamarin.PropertyEditing.Mac/Controls/Custom/ColorComponentEditor.cs2
-rw-r--r--Xamarin.PropertyEditing.Mac/Controls/Custom/ColorComponentViewController.cs2
-rw-r--r--Xamarin.PropertyEditing.Mac/Controls/Custom/DrawingExtensions.cs1
-rw-r--r--Xamarin.PropertyEditing.Mac/Controls/Custom/EmptyBrushEditorViewController.cs2
-rw-r--r--Xamarin.PropertyEditing.Mac/Controls/Custom/MaterialBrushEditorViewController.cs2
-rw-r--r--Xamarin.PropertyEditing.Mac/Controls/Custom/ResourceBrushViewController.cs8
-rw-r--r--Xamarin.PropertyEditing.Mac/Controls/Custom/SolidColorBrushEditorViewController.cs2
-rw-r--r--Xamarin.PropertyEditing.Mac/Controls/Custom/UnderlinedTabViewController.cs109
-rw-r--r--Xamarin.PropertyEditing.Mac/Controls/Custom/UnderlinedTextField.cs56
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16.pngbin0 -> 162 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16@2x.pngbin0 -> 372 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16~dark.pngbin0 -> 175 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16~dark@2x.pngbin0 -> 332 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16~dark~sel.pngbin0 -> 137 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16~dark~sel@2x.pngbin0 -> 225 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16~sel.pngbin0 -> 137 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16~sel@2x.pngbin0 -> 225 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-image-16.pngbin0 -> 187 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-image-16@2x.pngbin0 -> 298 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-image-16~dark.pngbin0 -> 180 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-image-16~dark@2x.pngbin0 -> 302 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-image-16~dark~sel.pngbin0 -> 166 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-image-16~dark~sel@2x.pngbin0 -> 284 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-image-16~sel.pngbin0 -> 166 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-image-16~sel@2x.pngbin0 -> 284 bytes
-rw-r--r--Xamarin.PropertyEditing.Mac/Resources/property-brush-none-16.pngbin0 -> 133 bytes
-rw-r--r--Xamarin.PropertyEditing.Mac/Resources/property-brush-none-16@2x.pngbin0 -> 186 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-none-16~dark.pngbin0 -> 132 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-none-16~dark@2x.pngbin0 -> 181 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-none-16~dark~sel.pngbin0 -> 126 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-none-16~dark~sel@2x.pngbin0 -> 173 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-none-16~sel.pngbin0 -> 126 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-none-16~sel@2x.pngbin0 -> 173 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-resources-16.pngbin0 -> 113 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-resources-16@2x.pngbin0 -> 147 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-resources-16~dark.pngbin0 -> 114 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-resources-16~dark@2x.pngbin0 -> 142 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-resources-16~dark~sel.pngbin0 -> 110 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-resources-16~dark~sel@2x.pngbin0 -> 138 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-resources-16~sel.pngbin0 -> 110 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-resources-16~sel@2x.pngbin0 -> 138 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-solid-16.pngbin0 -> 106 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-solid-16@2x.pngbin0 -> 129 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-solid-16~dark.pngbin0 -> 107 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-solid-16~dark@2x.pngbin0 -> 127 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-solid-16~dark~sel.pngbin0 -> 104 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-solid-16~dark~sel@2x.pngbin0 -> 124 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-solid-16~sel.pngbin0 -> 104 bytes
-rwxr-xr-xXamarin.PropertyEditing.Mac/Resources/property-brush-solid-16~sel@2x.pngbin0 -> 124 bytes
-rw-r--r--Xamarin.PropertyEditing.Mac/Xamarin.PropertyEditing.Mac.csproj456
51 files changed, 404 insertions, 248 deletions
diff --git a/Xamarin.PropertyEditing.Mac/Controls/Custom/BrushTabViewController.cs b/Xamarin.PropertyEditing.Mac/Controls/Custom/BrushTabViewController.cs
index c47f88a..c9f04d6 100644
--- a/Xamarin.PropertyEditing.Mac/Controls/Custom/BrushTabViewController.cs
+++ b/Xamarin.PropertyEditing.Mac/Controls/Custom/BrushTabViewController.cs
@@ -12,7 +12,7 @@ namespace Xamarin.PropertyEditing.Mac
{
public BrushTabViewController ()
{
- PreferredContentSize = new CGSize (300, 230);
+ PreferredContentSize = new CGSize (430, 230);
TransitionOptions = NSViewControllerTransitionOptions.None;
}
@@ -42,28 +42,32 @@ namespace Xamarin.PropertyEditing.Mac
var solid = new SolidColorBrushEditorViewController ();
solid.ViewModel = ViewModel;
item.ViewController = solid;
+ item.Image = NSImage.ImageNamed ("property-brush-solid-16");
break;
case CommonBrushType.MaterialDesign:
var material = new MaterialBrushEditorViewController ();
material.ViewModel = ViewModel;
item.ViewController = material;
+ item.Image = NSImage.ImageNamed ("property-brush-none-16");
break;
case CommonBrushType.Resource:
var resource = new ResourceBrushViewController ();
resource.ViewModel = ViewModel;
item.ViewController = resource;
+ item.Image = NSImage.ImageNamed ("property-brush-resources-16");
break;
case CommonBrushType.Gradient:
var gradient = new EmptyBrushEditorViewController ();
gradient.ViewModel = ViewModel;
item.ViewController = gradient;
+ item.Image = NSImage.ImageNamed ("property-brush-gradient-16");
break;
case CommonBrushType.NoBrush:
var none = new EmptyBrushEditorViewController ();
none.ViewModel = ViewModel;
item.ViewController = none;
+ item.Image = NSImage.ImageNamed ("property-brush-none-16");
break;
-
}
if (item.ViewController != null) {
BrushTypeTable [brushType] = TabViewItems.Length;
@@ -112,9 +116,7 @@ namespace Xamarin.PropertyEditing.Mac
public override void ViewDidLoad ()
{
- var old = View.Frame;
- old.Height = 230;
- View.Frame = old;
+ View.Frame = new CGRect (0, 0, 430,230);
this.inhibitSelection = true;
base.ViewDidLoad ();
diff --git a/Xamarin.PropertyEditing.Mac/Controls/Custom/ColorComponentEditor.cs b/Xamarin.PropertyEditing.Mac/Controls/Custom/ColorComponentEditor.cs
index 900635f..aefe3a0 100644
--- a/Xamarin.PropertyEditing.Mac/Controls/Custom/ColorComponentEditor.cs
+++ b/Xamarin.PropertyEditing.Mac/Controls/Custom/ColorComponentEditor.cs
@@ -132,7 +132,7 @@ namespace Xamarin.PropertyEditing.Mac
};
}
- public override CGSize IntrinsicContentSize => new CGSize (100, 200);
+ public override CGSize IntrinsicContentSize => new CGSize (100, 300);
void UpdateComponent (object sender, EventArgs args)
{
diff --git a/Xamarin.PropertyEditing.Mac/Controls/Custom/ColorComponentViewController.cs b/Xamarin.PropertyEditing.Mac/Controls/Custom/ColorComponentViewController.cs
index 9680752..1b3e93b 100644
--- a/Xamarin.PropertyEditing.Mac/Controls/Custom/ColorComponentViewController.cs
+++ b/Xamarin.PropertyEditing.Mac/Controls/Custom/ColorComponentViewController.cs
@@ -12,7 +12,7 @@ namespace Xamarin.PropertyEditing.Mac
public ColorComponentViewController (ChannelEditorType type) : base ()
{
- PreferredContentSize = new CGSize (200, 220);
+ PreferredContentSize = new CGSize (100, 400);
EditorType = type;
}
diff --git a/Xamarin.PropertyEditing.Mac/Controls/Custom/DrawingExtensions.cs b/Xamarin.PropertyEditing.Mac/Controls/Custom/DrawingExtensions.cs
index e206dfa..1137072 100644
--- a/Xamarin.PropertyEditing.Mac/Controls/Custom/DrawingExtensions.cs
+++ b/Xamarin.PropertyEditing.Mac/Controls/Custom/DrawingExtensions.cs
@@ -19,7 +19,6 @@ namespace Xamarin.PropertyEditing.Mac
public static NSImage CreateSwatch (this CommonColor color, CGSize size, CIColor c0, CIColor c1)
=> new NSImage (GenerateCheckerboard (new CGRect (0, 0, size.Width, size.Height), c0, c1), size);
-
public static CGImage GenerateCheckerboard (CGRect frame)
=> GenerateCheckerboard (frame, CIColor.WhiteColor, CIColor.BlackColor);
diff --git a/Xamarin.PropertyEditing.Mac/Controls/Custom/EmptyBrushEditorViewController.cs b/Xamarin.PropertyEditing.Mac/Controls/Custom/EmptyBrushEditorViewController.cs
index 24273e1..14e5bbc 100644
--- a/Xamarin.PropertyEditing.Mac/Controls/Custom/EmptyBrushEditorViewController.cs
+++ b/Xamarin.PropertyEditing.Mac/Controls/Custom/EmptyBrushEditorViewController.cs
@@ -9,7 +9,7 @@ namespace Xamarin.PropertyEditing.Mac
{
public EmptyBrushEditorViewController ()
{
- PreferredContentSize = new CGSize (100, 100);
+ PreferredContentSize = new CGSize (430, 230);
}
private NSButton brushEditor;
diff --git a/Xamarin.PropertyEditing.Mac/Controls/Custom/MaterialBrushEditorViewController.cs b/Xamarin.PropertyEditing.Mac/Controls/Custom/MaterialBrushEditorViewController.cs
index 933eeef..d1af213 100644
--- a/Xamarin.PropertyEditing.Mac/Controls/Custom/MaterialBrushEditorViewController.cs
+++ b/Xamarin.PropertyEditing.Mac/Controls/Custom/MaterialBrushEditorViewController.cs
@@ -11,7 +11,7 @@ namespace Xamarin.PropertyEditing.Mac
{
public MaterialBrushEditorViewController ()
{
- PreferredContentSize = new CGSize (200, 230);
+ PreferredContentSize = new CGSize (430, 230);
}
private MaterialView materialEditor;
diff --git a/Xamarin.PropertyEditing.Mac/Controls/Custom/ResourceBrushViewController.cs b/Xamarin.PropertyEditing.Mac/Controls/Custom/ResourceBrushViewController.cs
index 95b44c8..41a517b 100644
--- a/Xamarin.PropertyEditing.Mac/Controls/Custom/ResourceBrushViewController.cs
+++ b/Xamarin.PropertyEditing.Mac/Controls/Custom/ResourceBrushViewController.cs
@@ -145,11 +145,11 @@ namespace Xamarin.PropertyEditing.Mac
AddColumn (previewColumn);
}
- ResourceSelectorViewModel viewModel;
+ private ResourceSelectorViewModel viewModel;
public ResourceSelectorViewModel ViewModel {
- get => viewModel;
+ get => this.viewModel;
set {
- viewModel = value;
+ this.viewModel = value;
DataSource = new ResourceDataSource (viewModel);
}
}
@@ -162,7 +162,7 @@ namespace Xamarin.PropertyEditing.Mac
public ResourceBrushViewController ()
{
- PreferredContentSize = new CGSize (100, 200);
+ PreferredContentSize = new CGSize (430, 230);
viewDelegate = new ResourceBrushPropertyViewDelegate ();
}
diff --git a/Xamarin.PropertyEditing.Mac/Controls/Custom/SolidColorBrushEditorViewController.cs b/Xamarin.PropertyEditing.Mac/Controls/Custom/SolidColorBrushEditorViewController.cs
index 965ac0d..a024dcc 100644
--- a/Xamarin.PropertyEditing.Mac/Controls/Custom/SolidColorBrushEditorViewController.cs
+++ b/Xamarin.PropertyEditing.Mac/Controls/Custom/SolidColorBrushEditorViewController.cs
@@ -11,7 +11,7 @@ namespace Xamarin.PropertyEditing.Mac
public SolidColorBrushEditorViewController ()
{
- PreferredContentSize = new CGSize (300, 230);
+ PreferredContentSize = new CGSize (430, 230);
}
public override void OnPropertyChanged (object sender, PropertyChangedEventArgs e)
diff --git a/Xamarin.PropertyEditing.Mac/Controls/Custom/UnderlinedTabViewController.cs b/Xamarin.PropertyEditing.Mac/Controls/Custom/UnderlinedTabViewController.cs
index 8225319..3526287 100644
--- a/Xamarin.PropertyEditing.Mac/Controls/Custom/UnderlinedTabViewController.cs
+++ b/Xamarin.PropertyEditing.Mac/Controls/Custom/UnderlinedTabViewController.cs
@@ -3,40 +3,111 @@ using AppKit;
namespace Xamarin.PropertyEditing.Mac
{
+ internal class SegmentStack : NSView
+ {
+ class SegmentItem
+ {
+ public NSImage Image { get; set; }
+ public string Label { get; set; }
+ public NSView View { get; set; }
+ }
+
+
+ private SegmentItem[] segments = new SegmentItem[0];
+ private NSStackView stackView = new NSStackView () {
+ Spacing = 3
+ };
+
+ public void SetImage (NSImage image, int segment)
+ {
+ var item = this.segments[segment];
+
+ item.Image = image;
+ if (item.Image != null)
+ return;
+
+ item.View = new UnderlinedImageView (image.Name) {
+ // Image = image
+ };
+ this.stackView.AddView (item.View, NSStackViewGravity.Leading);
+ }
+
+ public NSImage GetImage (int segment)
+ {
+ return this.segments[segment].Image;
+ }
+
+ public void SetLabel (string label, int segment)
+ {
+ var item = this.segments[segment];
+ item.Label = label;
+ if (item.Image != null)
+ return;
+
+ item.View = new UnderlinedTextField () {
+ BackgroundColor = NSColor.Clear,
+ Editable = false,
+ Bezeled = false,
+ StringValue = label
+ };
+ this.stackView.AddView (item.View, NSStackViewGravity.Leading);
+ }
+
+ public string GetLabel (int segment)
+ {
+ return this.segments[segment].Label;
+ }
+
+ public int SegmentCount
+ {
+ get => this.segments.Length;
+ set
+ {
+ this.segments = new SegmentItem[value];
+ }
+ }
+ }
+
internal class UnderlinedTabViewController<TViewModel> : NotifyingTabViewController<TViewModel> where TViewModel : NotifyingObject
{
- private NSStackView labelStack = new NSStackView () {
+ private NSStackView tabStack = new NSStackView () {
Spacing = 4f,
};
public override void NumberOfItemsChanged (NSTabView tabView)
{
base.NumberOfItemsChanged (tabView);
- var items = this.labelStack.Views.ToList ();
+ var items = this.tabStack.Views.ToList ();
foreach (var view in items) {
- this.labelStack.RemoveView (view);
+ this.tabStack.RemoveView (view);
}
var i = 0;
foreach (var item in TabViewItems) {
- this.labelStack.AddView (new UnderlinedTextField () {
- BackgroundColor = NSColor.Clear,
- Editable = false,
- Bezeled = false,
- StringValue = item.Label,
- Selected = i == SelectedTabViewItemIndex,
- }, NSStackViewGravity.Leading);
+ if (item.Image != null) {
+ this.tabStack.AddView (new UnderlinedImageView (item.Image.Name) {
+ Selected = i == SelectedTabViewItemIndex
+ }, NSStackViewGravity.Leading);
+ } else {
+ this.tabStack.AddView (new UnderlinedTextField () {
+ BackgroundColor = NSColor.Clear,
+ Editable = false,
+ Bezeled = false,
+ StringValue = item.Label,
+ Selected = i == SelectedTabViewItemIndex,
+ }, NSStackViewGravity.Leading);
+ }
i++;
}
}
public override void MouseDown (NSEvent theEvent)
{
- var hit = View.HitTest (View.Superview.ConvertPointFromView (theEvent.LocationInWindow, null));
- if (!(hit is UnderlinedTextField))
+ NSView hit = View.HitTest (View.Superview.ConvertPointFromView (theEvent.LocationInWindow, null));
+ if (!(hit is ISelectable))
return;
int i = 0;
- foreach (var label in labelStack.Views) {
+ foreach (var label in tabStack.Views) {
if (hit == label) {
SelectedTabViewItemIndex = i;
break;
@@ -48,10 +119,10 @@ namespace Xamarin.PropertyEditing.Mac
public override void DidSelect (NSTabView tabView, NSTabViewItem item)
{
base.DidSelect (tabView, item);
- for (int i = 0; i < this.labelStack.Views.Length; i++) {
- var underlined = this.labelStack.Views[i] as UnderlinedTextField;
- if (underlined != null)
- underlined.Selected = SelectedTabViewItemIndex == i;
+ for (int i = 0; i < this.tabStack.Views.Length; i++) {
+ var tabItem = this.tabStack.Views[i] as ISelectable;
+ if (tabItem != null)
+ tabItem.Selected = SelectedTabViewItemIndex == i;
}
}
@@ -59,11 +130,11 @@ namespace Xamarin.PropertyEditing.Mac
{
var stack = new NSStackView () {
Spacing = 0,
- Alignment = NSLayoutAttribute.Width,
+ Alignment = NSLayoutAttribute.Left,
Orientation = NSUserInterfaceLayoutOrientation.Vertical
};
- stack.AddView (this.labelStack, NSStackViewGravity.Leading);
+ stack.AddView (this.tabStack, NSStackViewGravity.Top);
stack.AddView (TabView, NSStackViewGravity.Bottom);
View = stack;
}
diff --git a/Xamarin.PropertyEditing.Mac/Controls/Custom/UnderlinedTextField.cs b/Xamarin.PropertyEditing.Mac/Controls/Custom/UnderlinedTextField.cs
index 2bc17f3..39deb43 100644
--- a/Xamarin.PropertyEditing.Mac/Controls/Custom/UnderlinedTextField.cs
+++ b/Xamarin.PropertyEditing.Mac/Controls/Custom/UnderlinedTextField.cs
@@ -3,7 +3,59 @@ using CoreGraphics;
namespace Xamarin.PropertyEditing.Mac
{
- internal class UnderlinedTextField : NSTextField
+
+ internal interface ISelectable {
+ bool Selected { get; set; }
+ }
+
+ internal class UnderlinedImageView : NSImageView, ISelectable
+ {
+ public UnderlinedImageView (string name)
+ {
+ this.name = name;
+ }
+
+ private string name;
+
+ private bool selected;
+ public bool Selected
+ {
+ get => selected;
+ set {
+ //if (selected == value)
+ // return;
+ selected = value;
+
+ var version = PropertyEditorPanel.ThemeManager.Theme == Themes.PropertyEditorTheme.Dark ? $"{name}~dark" : name;
+ Image = NSImage.ImageNamed (selected ? $"{version}~sel" : version);
+
+ //Enabled = value;
+ NeedsDisplay = true;
+ }
+ }
+
+ public override void DrawRect (CGRect dirtyRect)
+ {
+ base.DrawRect (dirtyRect);
+ if (!Selected)
+ return;
+
+ NSBezierPath path = new NSBezierPath ();
+ path.AppendPathWithRect (new CGRect (Bounds.X + 1, Bounds.Top + 3, Bounds.Width - 2, 3));
+ (selected? NSColor.Text: NSColor.DisabledControlText).Set ();
+ path.Fill ();
+ }
+
+ public override CGSize IntrinsicContentSize
+ {
+ get {
+ var size = base.IntrinsicContentSize;
+ return new CGSize (size.Width + 2, size.Height + 12);
+ }
+ }
+ }
+
+ internal class UnderlinedTextField : NSTextField, ISelectable
{
public UnderlinedTextField ()
{
@@ -22,7 +74,7 @@ namespace Xamarin.PropertyEditing.Mac
// return;
selected = value;
TextColor = selected ? NSColor.Text : NSColor.DisabledControlText;
-
+
//Enabled = value;
NeedsDisplay = true;
}
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16.png
new file mode 100755
index 0000000..38dd536
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16@2x.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16@2x.png
new file mode 100755
index 0000000..e322b74
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16@2x.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16~dark.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16~dark.png
new file mode 100755
index 0000000..05f41ab
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16~dark.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16~dark@2x.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16~dark@2x.png
new file mode 100755
index 0000000..44bdb9a
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16~dark@2x.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16~dark~sel.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16~dark~sel.png
new file mode 100755
index 0000000..00b89eb
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16~dark~sel.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16~dark~sel@2x.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16~dark~sel@2x.png
new file mode 100755
index 0000000..01e5392
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16~dark~sel@2x.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16~sel.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16~sel.png
new file mode 100755
index 0000000..00b89eb
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16~sel.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16~sel@2x.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16~sel@2x.png
new file mode 100755
index 0000000..01e5392
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-gradient-16~sel@2x.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-image-16.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-image-16.png
new file mode 100755
index 0000000..18c3fb0
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-image-16.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-image-16@2x.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-image-16@2x.png
new file mode 100755
index 0000000..888605e
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-image-16@2x.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-image-16~dark.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-image-16~dark.png
new file mode 100755
index 0000000..8c4ff75
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-image-16~dark.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-image-16~dark@2x.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-image-16~dark@2x.png
new file mode 100755
index 0000000..d4f7b5f
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-image-16~dark@2x.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-image-16~dark~sel.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-image-16~dark~sel.png
new file mode 100755
index 0000000..bb74dd5
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-image-16~dark~sel.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-image-16~dark~sel@2x.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-image-16~dark~sel@2x.png
new file mode 100755
index 0000000..60900bc
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-image-16~dark~sel@2x.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-image-16~sel.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-image-16~sel.png
new file mode 100755
index 0000000..bb74dd5
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-image-16~sel.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-image-16~sel@2x.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-image-16~sel@2x.png
new file mode 100755
index 0000000..60900bc
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-image-16~sel@2x.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-none-16.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-none-16.png
new file mode 100644
index 0000000..61a8083
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-none-16.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-none-16@2x.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-none-16@2x.png
new file mode 100644
index 0000000..2ee673b
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-none-16@2x.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-none-16~dark.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-none-16~dark.png
new file mode 100755
index 0000000..933a8c6
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-none-16~dark.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-none-16~dark@2x.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-none-16~dark@2x.png
new file mode 100755
index 0000000..985d294
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-none-16~dark@2x.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-none-16~dark~sel.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-none-16~dark~sel.png
new file mode 100755
index 0000000..b8e1080
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-none-16~dark~sel.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-none-16~dark~sel@2x.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-none-16~dark~sel@2x.png
new file mode 100755
index 0000000..0c0d3c0
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-none-16~dark~sel@2x.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-none-16~sel.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-none-16~sel.png
new file mode 100755
index 0000000..b8e1080
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-none-16~sel.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-none-16~sel@2x.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-none-16~sel@2x.png
new file mode 100755
index 0000000..0c0d3c0
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-none-16~sel@2x.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-resources-16.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-resources-16.png
new file mode 100755
index 0000000..ed674fe
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-resources-16.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-resources-16@2x.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-resources-16@2x.png
new file mode 100755
index 0000000..f0f8799
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-resources-16@2x.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-resources-16~dark.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-resources-16~dark.png
new file mode 100755
index 0000000..0180190
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-resources-16~dark.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-resources-16~dark@2x.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-resources-16~dark@2x.png
new file mode 100755
index 0000000..a07d341
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-resources-16~dark@2x.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-resources-16~dark~sel.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-resources-16~dark~sel.png
new file mode 100755
index 0000000..1b3520b
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-resources-16~dark~sel.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-resources-16~dark~sel@2x.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-resources-16~dark~sel@2x.png
new file mode 100755
index 0000000..5e2fd96
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-resources-16~dark~sel@2x.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-resources-16~sel.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-resources-16~sel.png
new file mode 100755
index 0000000..1b3520b
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-resources-16~sel.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-resources-16~sel@2x.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-resources-16~sel@2x.png
new file mode 100755
index 0000000..5e2fd96
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-resources-16~sel@2x.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-solid-16.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-solid-16.png
new file mode 100755
index 0000000..751fb88
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-solid-16.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-solid-16@2x.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-solid-16@2x.png
new file mode 100755
index 0000000..69ce2d4
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-solid-16@2x.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-solid-16~dark.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-solid-16~dark.png
new file mode 100755
index 0000000..4b1b582
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-solid-16~dark.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-solid-16~dark@2x.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-solid-16~dark@2x.png
new file mode 100755
index 0000000..7bf8685
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-solid-16~dark@2x.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-solid-16~dark~sel.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-solid-16~dark~sel.png
new file mode 100755
index 0000000..3bbdbb0
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-solid-16~dark~sel.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-solid-16~dark~sel@2x.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-solid-16~dark~sel@2x.png
new file mode 100755
index 0000000..0aa1109
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-solid-16~dark~sel@2x.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-solid-16~sel.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-solid-16~sel.png
new file mode 100755
index 0000000..3bbdbb0
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-solid-16~sel.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Resources/property-brush-solid-16~sel@2x.png b/Xamarin.PropertyEditing.Mac/Resources/property-brush-solid-16~sel@2x.png
new file mode 100755
index 0000000..0aa1109
--- /dev/null
+++ b/Xamarin.PropertyEditing.Mac/Resources/property-brush-solid-16~sel@2x.png
Binary files differ
diff --git a/Xamarin.PropertyEditing.Mac/Xamarin.PropertyEditing.Mac.csproj b/Xamarin.PropertyEditing.Mac/Xamarin.PropertyEditing.Mac.csproj
index 6f29164..3fa13b6 100644
--- a/Xamarin.PropertyEditing.Mac/Xamarin.PropertyEditing.Mac.csproj
+++ b/Xamarin.PropertyEditing.Mac/Xamarin.PropertyEditing.Mac.csproj
@@ -1,213 +1,245 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProjectGuid>{E8F4F0EB-C2B1-4116-8459-E076E0E0E485}</ProjectGuid>
- <ProjectTypeGuids>{A3F8F2AB-B479-4A4A-A458-A89E7DC349F1};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
- <OutputType>Library</OutputType>
- <RootNamespace>Xamarin.PropertyEditing.Mac</RootNamespace>
- <AssemblyName>Xamarin.PropertyEditing.Mac</AssemblyName>
- <TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
- <MonoMacResourcePrefix>Resources</MonoMacResourcePrefix>
- <TargetFrameworkProfile />
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>bin\Debug</OutputPath>
- <DefineConstants>DEBUG;</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <EnableCodeSigning>false</EnableCodeSigning>
- <CreatePackage>false</CreatePackage>
- <EnablePackageSigning>false</EnablePackageSigning>
- <IncludeMonoRuntime>false</IncludeMonoRuntime>
- <UseSGen>false</UseSGen>
- <HttpClientHandler>
- </HttpClientHandler>
- <LinkMode>
- </LinkMode>
- <XamMacArch>
- </XamMacArch>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <Optimize>true</Optimize>
- <OutputPath>bin\Release</OutputPath>
- <DefineConstants>
- </DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <EnableCodeSigning>false</EnableCodeSigning>
- <CreatePackage>false</CreatePackage>
- <EnablePackageSigning>false</EnablePackageSigning>
- <IncludeMonoRuntime>false</IncludeMonoRuntime>
- <UseSGen>false</UseSGen>
- <HttpClientHandler>
- </HttpClientHandler>
- <LinkMode>
- </LinkMode>
- <XamMacArch>
- </XamMacArch>
- </PropertyGroup>
- <!-- Build with strong naming if built as part of some Xamarin VSIX, normally referencing this project as a git submodule under external\Xamarin.PropertyEditing -->
- <PropertyGroup Condition="Exists('../../../xamarin.snk')">
- <AssemblyOriginatorKeyFile>../../../xamarin.snk</AssemblyOriginatorKeyFile>
- <SignAssembly>true</SignAssembly>
- <DefineConstants>$(DefineConstants);STRONG_NAMED</DefineConstants>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System" />
- <Reference Include="System.Core" />
- <Reference Include="Xamarin.Mac" />
- <Reference Include="System.Drawing" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="Properties\AssemblyInfo.cs" />
- <Compile Include="PropertyEditorPanel.cs" />
- <Compile Include="PropertyEditorPanel.designer.cs">
- <DependentUpon>PropertyEditorPanel.cs</DependentUpon>
- </Compile>
- <Compile Include="Controls\StringEditorControl.cs" />
- <Compile Include="Controls\PropertyEditorControl.cs" />
- <Compile Include="PropertyTableDelegate.cs" />
- <Compile Include="PropertyTableDataSource.cs" />
- <Compile Include="Controls\NumericEditorControl.cs" />
- <Compile Include="Controls\BooleanEditorControl.cs" />
- <Compile Include="Controls\ConstraintExtensions.cs" />
- <Compile Include="Controls\BaseRectangleEditorControl.cs" />
- <Compile Include="Controls\CGRectEditorControl.cs" />
- <Compile Include="Controls\CGPointEditorControl.cs" />
- <Compile Include="NSObjectFacade.cs" />
- <Compile Include="Controls\PredefinedValuesEditor.cs" />
- <Compile Include="Controls\BasePointEditorControl.cs" />
- <Compile Include="Controls\CGSizeEditorControl.cs" />
- <Compile Include="Controls\PointEditorControl.cs" />
- <Compile Include="Controls\RectangleEditorControl.cs" />
- <Compile Include="Controls\SizeEditorControl.cs" />
- <Compile Include="Controls\Custom\NumericSpinEditor.cs" />
- <Compile Include="Controls\Custom\NumericTextField.cs" />
- <Compile Include="Resources\LocalizationResources.Designer.cs">
- <DependentUpon>LocalizationResources.resx</DependentUpon>
- </Compile>
- <Compile Include="Controls\Custom\UnfocusableTextField.cs" />
- <Compile Include="Controls\CombinablePropertyEditor.cs" />
- <Compile Include="Controls\Custom\PropertyButton.cs" />
- <Compile Include="Controls\Custom\CommandMenuItem.cs" />
- <Compile Include="Controls\Custom\BasePopOverControl.cs" />
- <Compile Include="Controls\Custom\BasePopOverViewModelControl.cs" />
- <Compile Include="Controls\CustomExpressionView.cs" />
- <Compile Include="Controls\Custom\AutoClosePopOver.cs" />
- <Compile Include="Controls\BrushEditorControl.cs" />
- <Compile Include="Controls\Custom\SolidColorBrushEditor.cs" />
- <Compile Include="Controls\Custom\BrushTabViewController.cs" />
- <Compile Include="Controls\Custom\NotifyingTabViewController.cs" />
- <Compile Include="Controls\Custom\NotifyingViewController.cs" />
- <Compile Include="Controls\Custom\SolidColorBrushEditorViewController.cs" />
- <Compile Include="Controls\Custom\DrawingExtensions.cs" />
- <Compile Include="Controls\Custom\ResourceBrushViewController.cs" />
- <Compile Include="Controls\Custom\CommonBrushView.cs" />
- <Compile Include="Controls\Custom\ColorComponentEditor.cs" />
- <Compile Include="Controls\Custom\ColorComponentTabViewController.cs" />
- <Compile Include="Controls\Custom\ColorComponentViewController.cs" />
- <Compile Include="Controls\Custom\NotifyingViewAdaptor.cs" />
- <Compile Include="Controls\Custom\MaterialBrushEditorViewController.cs" />
- <Compile Include="Controls\Custom\MaterialView.cs" />
- <Compile Include="Controls\Custom\MaterialColorLayer.cs" />
- <Compile Include="Controls\Custom\EmptyBrushEditorViewController.cs" />
- <Compile Include="Controls\Custom\ChannelEditorType.cs" />
- <Compile Include="Controls\Custom\ChannelEditor.cs" />
- <Compile Include="Controls\Custom\CommonBrushLayer.cs" />
- <Compile Include="Controls\Custom\CommonGradientBrushLayer.cs" />
- <Compile Include="Controls\Custom\HueLayer.cs" />
- <Compile Include="Controls\Custom\ShadeLayer.cs" />
- <Compile Include="Controls\Custom\HistoryLayer.cs" />
- <Compile Include="Controls\Custom\ColorEditorView.cs" />
- <Compile Include="Controls\Custom\ColorEditorLayer.cs" />
- <Compile Include="Controls\Custom\ComponentSpinEditor.cs" />
- <Compile Include="Controls\Custom\UnderlinedTabViewController.cs" />
- <Compile Include="Controls\Custom\UnderlinedTextField.cs" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="Themes\MacThemeManager.cs" />
- <Compile Include="Controls\BaseEditorControl.cs" />
- <Compile Include="Controls\ErrorMessageView.cs" />
- </ItemGroup>
- <ItemGroup />
- <ItemGroup>
- <ProjectReference Include="..\Xamarin.PropertyEditing\Xamarin.PropertyEditing.csproj">
- <Project>{A0B6FE73-D046-4E1C-BA9D-F20683889C5A}</Project>
- <Name>Xamarin.PropertyEditing</Name>
- </ProjectReference>
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\LocalizationResources.resx">
- <Generator>ResXFileCodeGenerator</Generator>
- <LastGenOutput>LocalizationResources.Designer.cs</LastGenOutput>
- </EmbeddedResource>
- </ItemGroup>
- <ItemGroup>
- <BundleResource Include="Resources\action-browse-16.png" />
- <BundleResource Include="Resources\action-browse-16%402x.png" />
- <BundleResource Include="Resources\action-browse-16~dark.png" />
- <BundleResource Include="Resources\action-browse-16~dark%402x.png" />
- <BundleResource Include="Resources\action-edit-16.png" />
- <BundleResource Include="Resources\action-edit-16%402x.png" />
- <BundleResource Include="Resources\action-edit-16~dark.png" />
- <BundleResource Include="Resources\action-edit-16~dark%402x.png" />
- <BundleResource Include="Resources\action-palette-16.png" />
- <BundleResource Include="Resources\action-palette-16%402x.png" />
- <BundleResource Include="Resources\action-palette-16~dark.png" />
- <BundleResource Include="Resources\action-palette-16~dark%402x.png" />
- <BundleResource Include="Resources\action-reveal-16.png" />
- <BundleResource Include="Resources\action-reveal-16%402x.png" />
- <BundleResource Include="Resources\action-reveal-16~dark.png" />
- <BundleResource Include="Resources\action-reveal-16~dark%402x.png" />
- <BundleResource Include="Resources\action-typography-16.png" />
- <BundleResource Include="Resources\action-typography-16%402x 13-35-55-102.png" />
- <BundleResource Include="Resources\action-typography-16~dark.png" />
- <BundleResource Include="Resources\action-typography-16~dark%402x 13-35-55-083.png" />
- <BundleResource Include="Resources\action-warning-16.png" />
- <BundleResource Include="Resources\action-warning-16%402x.png" />
- <BundleResource Include="Resources\action-warning-16~dark.png" />
- <BundleResource Include="Resources\action-warning-16~dark%402x.png" />
- <BundleResource Include="Resources\property-button-bound-mac-10.png" />
- <BundleResource Include="Resources\property-button-bound-mac-10%402x.png" />
- <BundleResource Include="Resources\property-button-bound-mac-10~dark.png" />
- <BundleResource Include="Resources\property-button-bound-mac-10~dark%402x.png" />
- <BundleResource Include="Resources\property-button-default-mac-10.png" />
- <BundleResource Include="Resources\property-button-default-mac-10%402x.png" />
- <BundleResource Include="Resources\property-button-default-mac-10~dark.png" />
- <BundleResource Include="Resources\property-button-default-mac-10~dark%402x.png" />
- <BundleResource Include="Resources\property-button-inherited-mac-10.png" />
- <BundleResource Include="Resources\property-button-inherited-mac-10%402x.png" />
- <BundleResource Include="Resources\property-button-inherited-mac-10~dark.png" />
- <BundleResource Include="Resources\property-button-inherited-mac-10~dark%402x.png" />
- <BundleResource Include="Resources\property-button-local-mac-10.png" />
- <BundleResource Include="Resources\property-button-local-mac-10%402x.png" />
- <BundleResource Include="Resources\property-button-local-mac-10~dark.png" />
- <BundleResource Include="Resources\property-button-local-mac-10~dark%402x.png" />
- <BundleResource Include="Resources\property-button-bound-mac-active-10.png" />
- <BundleResource Include="Resources\property-button-bound-mac-active-10%402x.png" />
- <BundleResource Include="Resources\property-button-bound-mac-active-10~dark.png" />
- <BundleResource Include="Resources\property-button-bound-mac-active-10~dark%402x.png" />
- <BundleResource Include="Resources\property-button-default-mac-active-10.png" />
- <BundleResource Include="Resources\property-button-default-mac-active-10%402x.png" />
- <BundleResource Include="Resources\property-button-default-mac-active-10~dark.png" />
- <BundleResource Include="Resources\property-button-default-mac-active-10~dark%402x.png" />
- <BundleResource Include="Resources\property-button-inherited-mac-active-10.png" />
- <BundleResource Include="Resources\property-button-inherited-mac-active-10%402x.png" />
- <BundleResource Include="Resources\property-button-inherited-mac-active-10~dark.png" />
- <BundleResource Include="Resources\property-button-inherited-mac-active-10~dark%402x.png" />
- <BundleResource Include="Resources\property-button-local-mac-active-10.png" />
- <BundleResource Include="Resources\property-button-local-mac-active-10%402x.png" />
- <BundleResource Include="Resources\property-button-local-mac-active-10~dark.png" />
- <BundleResource Include="Resources\property-button-local-mac-active-10~dark%402x.png" />
- <BundleResource Include="Resources\custom-expression-32.png" />
- <BundleResource Include="Resources\custom-expression-32%402x.png" />
- <BundleResource Include="Resources\custom-expression-32~dark.png" />
- <BundleResource Include="Resources\custom-expression-32~dark%402x.png" />
- </ItemGroup>
- <Import Project="$(MSBuildExtensionsPath)\Xamarin\Mac\Xamarin.Mac.CSharp.targets" />
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProjectGuid>{E8F4F0EB-C2B1-4116-8459-E076E0E0E485}</ProjectGuid>
+ <ProjectTypeGuids>{A3F8F2AB-B479-4A4A-A458-A89E7DC349F1};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+ <OutputType>Library</OutputType>
+ <RootNamespace>Xamarin.PropertyEditing.Mac</RootNamespace>
+ <AssemblyName>Xamarin.PropertyEditing.Mac</AssemblyName>
+ <TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
+ <MonoMacResourcePrefix>Resources</MonoMacResourcePrefix>
+ <TargetFrameworkProfile />
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug</OutputPath>
+ <DefineConstants>DEBUG;</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <EnableCodeSigning>false</EnableCodeSigning>
+ <CreatePackage>false</CreatePackage>
+ <EnablePackageSigning>false</EnablePackageSigning>
+ <IncludeMonoRuntime>false</IncludeMonoRuntime>
+ <UseSGen>false</UseSGen>
+ <HttpClientHandler></HttpClientHandler>
+ <LinkMode></LinkMode>
+ <XamMacArch></XamMacArch>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release</OutputPath>
+ <DefineConstants></DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <EnableCodeSigning>false</EnableCodeSigning>
+ <CreatePackage>false</CreatePackage>
+ <EnablePackageSigning>false</EnablePackageSigning>
+ <IncludeMonoRuntime>false</IncludeMonoRuntime>
+ <UseSGen>false</UseSGen>
+ <HttpClientHandler></HttpClientHandler>
+ <LinkMode></LinkMode>
+ <XamMacArch></XamMacArch>
+ </PropertyGroup>
+ <!-- Build with strong naming if built as part of some Xamarin VSIX, normally referencing this project as a git submodule under external\Xamarin.PropertyEditing -->
+ <PropertyGroup Condition="Exists('../../../xamarin.snk')">
+ <AssemblyOriginatorKeyFile>../../../xamarin.snk</AssemblyOriginatorKeyFile>
+ <SignAssembly>true</SignAssembly>
+ <DefineConstants>$(DefineConstants);STRONG_NAMED</DefineConstants>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="System.Core" />
+ <Reference Include="Xamarin.Mac" />
+ <Reference Include="System.Drawing" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ <Compile Include="PropertyEditorPanel.cs" />
+ <Compile Include="PropertyEditorPanel.designer.cs">
+ <DependentUpon>PropertyEditorPanel.cs</DependentUpon>
+ </Compile>
+ <Compile Include="Controls\StringEditorControl.cs" />
+ <Compile Include="Controls\PropertyEditorControl.cs" />
+ <Compile Include="PropertyTableDelegate.cs" />
+ <Compile Include="PropertyTableDataSource.cs" />
+ <Compile Include="Controls\NumericEditorControl.cs" />
+ <Compile Include="Controls\BooleanEditorControl.cs" />
+ <Compile Include="Controls\ConstraintExtensions.cs" />
+ <Compile Include="Controls\BaseRectangleEditorControl.cs" />
+ <Compile Include="Controls\CGRectEditorControl.cs" />
+ <Compile Include="Controls\CGPointEditorControl.cs" />
+ <Compile Include="NSObjectFacade.cs" />
+ <Compile Include="Controls\PredefinedValuesEditor.cs" />
+ <Compile Include="Controls\BasePointEditorControl.cs" />
+ <Compile Include="Controls\CGSizeEditorControl.cs" />
+ <Compile Include="Controls\PointEditorControl.cs" />
+ <Compile Include="Controls\RectangleEditorControl.cs" />
+ <Compile Include="Controls\SizeEditorControl.cs" />
+ <Compile Include="Controls\Custom\NumericSpinEditor.cs" />
+ <Compile Include="Controls\Custom\NumericTextField.cs" />
+ <Compile Include="Resources\LocalizationResources.Designer.cs">
+ <DependentUpon>LocalizationResources.resx</DependentUpon>
+ </Compile>
+ <Compile Include="Controls\Custom\UnfocusableTextField.cs" />
+ <Compile Include="Controls\CombinablePropertyEditor.cs" />
+ <Compile Include="Controls\Custom\PropertyButton.cs" />
+ <Compile Include="Controls\Custom\CommandMenuItem.cs" />
+ <Compile Include="Controls\Custom\BasePopOverControl.cs" />
+ <Compile Include="Controls\Custom\BasePopOverViewModelControl.cs" />
+ <Compile Include="Controls\CustomExpressionView.cs" />
+ <Compile Include="Controls\Custom\AutoClosePopOver.cs" />
+ <Compile Include="Controls\BrushEditorControl.cs" />
+ <Compile Include="Controls\Custom\SolidColorBrushEditor.cs" />
+ <Compile Include="Controls\Custom\BrushTabViewController.cs" />
+ <Compile Include="Controls\Custom\NotifyingTabViewController.cs" />
+ <Compile Include="Controls\Custom\NotifyingViewController.cs" />
+ <Compile Include="Controls\Custom\SolidColorBrushEditorViewController.cs" />
+ <Compile Include="Controls\Custom\DrawingExtensions.cs" />
+ <Compile Include="Controls\Custom\ResourceBrushViewController.cs" />
+ <Compile Include="Controls\Custom\CommonBrushView.cs" />
+ <Compile Include="Controls\Custom\ColorComponentEditor.cs" />
+ <Compile Include="Controls\Custom\ColorComponentTabViewController.cs" />
+ <Compile Include="Controls\Custom\ColorComponentViewController.cs" />
+ <Compile Include="Controls\Custom\NotifyingViewAdaptor.cs" />
+ <Compile Include="Controls\Custom\MaterialBrushEditorViewController.cs" />
+ <Compile Include="Controls\Custom\MaterialView.cs" />
+ <Compile Include="Controls\Custom\MaterialColorLayer.cs" />
+ <Compile Include="Controls\Custom\EmptyBrushEditorViewController.cs" />
+ <Compile Include="Controls\Custom\ChannelEditorType.cs" />
+ <Compile Include="Controls\Custom\ChannelEditor.cs" />
+ <Compile Include="Controls\Custom\CommonBrushLayer.cs" />
+ <Compile Include="Controls\Custom\CommonGradientBrushLayer.cs" />
+ <Compile Include="Controls\Custom\HueLayer.cs" />
+ <Compile Include="Controls\Custom\ShadeLayer.cs" />
+ <Compile Include="Controls\Custom\HistoryLayer.cs" />
+ <Compile Include="Controls\Custom\ColorEditorView.cs" />
+ <Compile Include="Controls\Custom\ColorEditorLayer.cs" />
+ <Compile Include="Controls\Custom\ComponentSpinEditor.cs" />
+ <Compile Include="Controls\Custom\UnderlinedTabViewController.cs" />
+ <Compile Include="Controls\Custom\UnderlinedTextField.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Themes\MacThemeManager.cs" />
+ <Compile Include="Controls\BaseEditorControl.cs" />
+ <Compile Include="Controls\ErrorMessageView.cs" />
+ </ItemGroup>
+ <ItemGroup />
+ <ItemGroup>
+ <ProjectReference Include="..\Xamarin.PropertyEditing\Xamarin.PropertyEditing.csproj">
+ <Project>{A0B6FE73-D046-4E1C-BA9D-F20683889C5A}</Project>
+ <Name>Xamarin.PropertyEditing</Name>
+ </ProjectReference>
+ </ItemGroup>
+ <ItemGroup>
+ <EmbeddedResource Include="Resources\LocalizationResources.resx">
+ <Generator>ResXFileCodeGenerator</Generator>
+ <LastGenOutput>LocalizationResources.Designer.cs</LastGenOutput>
+ </EmbeddedResource>
+ </ItemGroup>
+ <ItemGroup>
+ <BundleResource Include="Resources\action-browse-16.png" />
+ <BundleResource Include="Resources\action-browse-16%402x.png" />
+ <BundleResource Include="Resources\action-browse-16~dark.png" />
+ <BundleResource Include="Resources\action-browse-16~dark%402x.png" />
+ <BundleResource Include="Resources\action-edit-16.png" />
+ <BundleResource Include="Resources\action-edit-16%402x.png" />
+ <BundleResource Include="Resources\action-edit-16~dark.png" />
+ <BundleResource Include="Resources\action-edit-16~dark%402x.png" />
+ <BundleResource Include="Resources\action-palette-16.png" />
+ <BundleResource Include="Resources\action-palette-16%402x.png" />
+ <BundleResource Include="Resources\action-palette-16~dark.png" />
+ <BundleResource Include="Resources\action-palette-16~dark%402x.png" />
+ <BundleResource Include="Resources\action-reveal-16.png" />
+ <BundleResource Include="Resources\action-reveal-16%402x.png" />
+ <BundleResource Include="Resources\action-reveal-16~dark.png" />
+ <BundleResource Include="Resources\action-reveal-16~dark%402x.png" />
+ <BundleResource Include="Resources\action-typography-16.png" />
+ <BundleResource Include="Resources\action-typography-16%402x 13-35-55-102.png" />
+ <BundleResource Include="Resources\action-typography-16~dark.png" />
+ <BundleResource Include="Resources\action-typography-16~dark%402x 13-35-55-083.png" />
+ <BundleResource Include="Resources\action-warning-16.png" />
+ <BundleResource Include="Resources\action-warning-16%402x.png" />
+ <BundleResource Include="Resources\action-warning-16~dark.png" />
+ <BundleResource Include="Resources\action-warning-16~dark%402x.png" />
+ <BundleResource Include="Resources\property-button-bound-mac-10.png" />
+ <BundleResource Include="Resources\property-button-bound-mac-10%402x.png" />
+ <BundleResource Include="Resources\property-button-bound-mac-10~dark.png" />
+ <BundleResource Include="Resources\property-button-bound-mac-10~dark%402x.png" />
+ <BundleResource Include="Resources\property-button-default-mac-10.png" />
+ <BundleResource Include="Resources\property-button-default-mac-10%402x.png" />
+ <BundleResource Include="Resources\property-button-default-mac-10~dark.png" />
+ <BundleResource Include="Resources\property-button-default-mac-10~dark%402x.png" />
+ <BundleResource Include="Resources\property-button-inherited-mac-10.png" />
+ <BundleResource Include="Resources\property-button-inherited-mac-10%402x.png" />
+ <BundleResource Include="Resources\property-button-inherited-mac-10~dark.png" />
+ <BundleResource Include="Resources\property-button-inherited-mac-10~dark%402x.png" />
+ <BundleResource Include="Resources\property-button-local-mac-10.png" />
+ <BundleResource Include="Resources\property-button-local-mac-10%402x.png" />
+ <BundleResource Include="Resources\property-button-local-mac-10~dark.png" />
+ <BundleResource Include="Resources\property-button-local-mac-10~dark%402x.png" />
+ <BundleResource Include="Resources\property-button-bound-mac-active-10.png" />
+ <BundleResource Include="Resources\property-button-bound-mac-active-10%402x.png" />
+ <BundleResource Include="Resources\property-button-bound-mac-active-10~dark.png" />
+ <BundleResource Include="Resources\property-button-bound-mac-active-10~dark%402x.png" />
+ <BundleResource Include="Resources\property-button-default-mac-active-10.png" />
+ <BundleResource Include="Resources\property-button-default-mac-active-10%402x.png" />
+ <BundleResource Include="Resources\property-button-default-mac-active-10~dark.png" />
+ <BundleResource Include="Resources\property-button-default-mac-active-10~dark%402x.png" />
+ <BundleResource Include="Resources\property-button-inherited-mac-active-10.png" />
+ <BundleResource Include="Resources\property-button-inherited-mac-active-10%402x.png" />
+ <BundleResource Include="Resources\property-button-inherited-mac-active-10~dark.png" />
+ <BundleResource Include="Resources\property-button-inherited-mac-active-10~dark%402x.png" />
+ <BundleResource Include="Resources\property-button-local-mac-active-10.png" />
+ <BundleResource Include="Resources\property-button-local-mac-active-10%402x.png" />
+ <BundleResource Include="Resources\property-button-local-mac-active-10~dark.png" />
+ <BundleResource Include="Resources\property-button-local-mac-active-10~dark%402x.png" />
+ <BundleResource Include="Resources\custom-expression-32.png" />
+ <BundleResource Include="Resources\custom-expression-32%402x.png" />
+ <BundleResource Include="Resources\custom-expression-32~dark.png" />
+ <BundleResource Include="Resources\custom-expression-32~dark%402x.png" />
+ <BundleResource Include="Resources\property-brush-gradient-16.png" />
+ <BundleResource Include="Resources\property-brush-gradient-16%402x.png" />
+ <BundleResource Include="Resources\property-brush-gradient-16~dark.png" />
+ <BundleResource Include="Resources\property-brush-gradient-16~dark%402x.png" />
+ <BundleResource Include="Resources\property-brush-gradient-16~dark~sel.png" />
+ <BundleResource Include="Resources\property-brush-gradient-16~dark~sel%402x.png" />
+ <BundleResource Include="Resources\property-brush-gradient-16~sel.png" />
+ <BundleResource Include="Resources\property-brush-gradient-16~sel%402x.png" />
+ <BundleResource Include="Resources\property-brush-image-16.png" />
+ <BundleResource Include="Resources\property-brush-image-16%402x.png" />
+ <BundleResource Include="Resources\property-brush-image-16~dark.png" />
+ <BundleResource Include="Resources\property-brush-image-16~dark%402x.png" />
+ <BundleResource Include="Resources\property-brush-image-16~dark~sel.png" />
+ <BundleResource Include="Resources\property-brush-image-16~dark~sel%402x.png" />
+ <BundleResource Include="Resources\property-brush-image-16~sel.png" />
+ <BundleResource Include="Resources\property-brush-image-16~sel%402x.png" />
+ <BundleResource Include="Resources\property-brush-none-16.png" />
+ <BundleResource Include="Resources\property-brush-none-16%402x.png" />
+ <BundleResource Include="Resources\property-brush-none-16~dark.png" />
+ <BundleResource Include="Resources\property-brush-none-16~dark%402x.png" />
+ <BundleResource Include="Resources\property-brush-none-16~dark~sel.png" />
+ <BundleResource Include="Resources\property-brush-none-16~dark~sel%402x.png" />
+ <BundleResource Include="Resources\property-brush-none-16~sel.png" />
+ <BundleResource Include="Resources\property-brush-none-16~sel%402x.png" />
+ <BundleResource Include="Resources\property-brush-resources-16.png" />
+ <BundleResource Include="Resources\property-brush-resources-16%402x.png" />
+ <BundleResource Include="Resources\property-brush-resources-16~dark.png" />
+ <BundleResource Include="Resources\property-brush-resources-16~dark%402x.png" />
+ <BundleResource Include="Resources\property-brush-resources-16~dark~sel.png" />
+ <BundleResource Include="Resources\property-brush-resources-16~dark~sel%402x.png" />
+ <BundleResource Include="Resources\property-brush-resources-16~sel.png" />
+ <BundleResource Include="Resources\property-brush-resources-16~sel%402x.png" />
+ <BundleResource Include="Resources\property-brush-solid-16.png" />
+ <BundleResource Include="Resources\property-brush-solid-16%402x.png" />
+ <BundleResource Include="Resources\property-brush-solid-16~dark.png" />
+ <BundleResource Include="Resources\property-brush-solid-16~dark%402x.png" />
+ <BundleResource Include="Resources\property-brush-solid-16~dark~sel.png" />
+ <BundleResource Include="Resources\property-brush-solid-16~dark~sel%402x.png" />
+ <BundleResource Include="Resources\property-brush-solid-16~sel.png" />
+ <BundleResource Include="Resources\property-brush-solid-16~sel%402x.png" />
+ </ItemGroup>
+ <Import Project="$(MSBuildExtensionsPath)\Xamarin\Mac\Xamarin.Mac.CSharp.targets" />
</Project> \ No newline at end of file