public SelectorView () { Title = ""; BezelStyle = NSBezelStyle.TexturedRounded; var pathSelectorView = new PathSelectorView (new CGRect (6, 0, 1, 1)); pathSelectorView.UnregisterDraggedTypes (); AddSubview (pathSelectorView); }
public SelectorView() { Title = ""; BezelStyle = NSBezelStyle.TexturedRounded; var pathSelectorView = new PathSelectorView(new CGRect(6, 0, 1, 1)); pathSelectorView.UnregisterDraggedTypes(); AddSubview(pathSelectorView); }
public SelectorView () { Cell = new ColoredButtonCell (); BezelStyle = NSBezelStyle.TexturedRounded; Title = ""; RealSelectorView = new PathSelectorView (new CGRect (6, 0, 1, 1)); RealSelectorView.UnregisterDraggedTypes (); AddSubview (RealSelectorView); }
public SelectorView() { Cell = new ColoredButtonCell(); BezelStyle = NSBezelStyle.TexturedRounded; Title = ""; RealSelectorView = new PathSelectorView(new CGRect(6, 0, 1, 1)); RealSelectorView.UnregisterDraggedTypes(); AddSubview(RealSelectorView); }
public SelectorView() { Cell = new ColoredButtonCell(); BezelStyle = NSBezelStyle.TexturedRounded; Title = ""; var nsa = (INSAccessibility)this; nsa.AccessibilityElement = false; RealSelectorView = new PathSelectorView(new CGRect(6, 0, 1, 1)); RealSelectorView.UnregisterDraggedTypes(); AddSubview(RealSelectorView); // Disguise this NSButton as a group AccessibilityRole = NSAccessibilityRoles.GroupRole; // For some reason AddSubview hasn't added RealSelectorView as an accessibility child of SelectorView nsa.AccessibilityChildren = new NSObject [] { RealSelectorView }; }