protected override void CreateChildElements()
 {
     base.CreateChildElements();
     this.searchTextBox = this.CreateSearchTextBox();
     this.Children.Add((RadElement)this.searchTextBox);
     this.waitingBar = this.CreateWaitingBarElement();
     this.Children.Add((RadElement)this.waitingBar);
     this.findPreviousButton = this.CreateFindPreviousButton();
     this.Children.Add((RadElement)this.findPreviousButton);
     this.findNextButton = this.CreateFindNextButton();
     this.Children.Add((RadElement)this.findNextButton);
     this.matchCaseButton                   = this.CreateMatchCaseButton();
     this.chooseColumnsMenuItem             = this.CreateChooseColumnsMenuItem();
     this.matchCaseMenuItem                 = this.CreateMatchCaseMenuItem();
     this.searchFromCurrentPositionMenuItem = this.CreateSearchFromCurrentPositionMenuItem();
     this.optionsButton = this.CreateOptionsButton();
     this.Children.Add((RadElement)this.optionsButton);
     this.buttonsStack        = new StackLayoutPanel();
     this.buttonsStack.Margin = new Padding(0, 1, 0, 2);
     this.Children.Add((RadElement)this.buttonsStack);
     this.closeButton        = this.CreateCloseButton();
     this.closeButton.Class  = "SearchRowCloseButton";
     this.closeButton.Click += new EventHandler(this.CloseButton_Click);
     this.buttonsStack.Children.Add((RadElement)this.closeButton);
 }
        protected virtual GridSearchCellTextBoxElement CreateSearchTextBox()
        {
            GridSearchCellTextBoxElement cellTextBoxElement = new GridSearchCellTextBoxElement();

            cellTextBoxElement.Margin = new Padding(2, 1, 2, 1);
            cellTextBoxElement.TextBoxItem.NullText = LocalizationProvider <RadGridLocalizationProvider> .CurrentProvider.GetLocalizedString("SearchRowTextBoxNullText");

            return(cellTextBoxElement);
        }