Exemplo n.º 1
0
        public SearchBar()
        {
            Cell = new DarkThemeSearchFieldCell();

            Initialize();

            Ide.Gui.Styles.Changed += (o, e) => UpdateLayout();
            UpdateLayout();
        }
Exemplo n.º 2
0
        public SearchBar()
        {
            Cell = new DarkThemeSearchFieldCell();

            var nsa = (INSAccessibility)this;

            AccessibilitySubrole        = NSAccessibilitySubroles.SearchFieldSubrole;
            nsa.AccessibilityIdentifier = "MainToolbar.SearchField";
            AccessibilityHelp           = GettextCatalog.GetString("Search");
            // Hide this from the A11y system because we actually care about the inner search field
            // and not this one according to Cocoa?
            AccessibilityElement = false;

            Initialize();

            Ide.Gui.Styles.Changed += (o, e) => UpdateLayout();
            UpdateLayout();
        }
Exemplo n.º 3
0
		public SearchBar ()
		{
			Cell = new DarkThemeSearchFieldCell ();

			Initialize ();

			Ide.Gui.Styles.Changed +=  (o, e) => UpdateLayout ();
			UpdateLayout ();
		}