private void ConfigureRepositoryItemButtonEdit()
        {
            RepositoryItemFileEdit item = SpecifyRepositoryItemFileEdit();

            gridControl1.RepositoryItems.Add(item);
            gridView1.Columns["File with information"].ColumnEdit = item;
            gridView1.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowAlways;
        }
        private RepositoryItemFileEdit SpecifyRepositoryItemFileEdit()
        {
            RepositoryItemFileEdit item = new RepositoryItemFileEdit();

            item.Buttons[0].Kind = ButtonPredefines.DropDown;
            item.Buttons.Add(new EditorButton(ButtonPredefines.Glyph));
            item.Buttons[1].Image = CustomEditor.Properties.Resources.open;
            item.Buttons[1].Tag   = "OpenFileDialog";
            return(item);
        }
 static FileEdit()
 {
     RepositoryItemFileEdit.Register();
 }