DevExpress controls provide properties that allow you to provide shortcuts to access functionality. For instance, a popup editor provides the RepositoryItemPopupBase.CloseUpKey property. Pressing this key toggles the visibility of the dropdown window.
how-to-make-the-buttonedits-buttons-work-as-check-buttons-e1931/CS/Form1.cs#L146
this.repositoryItemMyButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Button", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, "", null, null, true)});
this.repositoryItemMyButtonEdit1.CheckedChar = '1';
how-to-prevent-buttonedits-buttons-from-filling-the-entire-editors-height-e2174/CS/CS/Form1.cs#L107
new DevExpress.XtraEditors.Controls.EditorButton(),
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, true, DevExpress.XtraEditors.ImageLocation.MiddleCenter, ((System.Drawing.Image)(resources.GetObject("myButtonEdit4.Properties.Buttons"))), new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, "", null, null, true)});
this.myButtonEdit4.Properties.ButtonsAlignment = DevExpress.Utils.VertAlignment.Bottom;
XAF_how-to-add-a-custom-button-into-lookuppropertyeditor-to-edit-the-currently-selected-record-e774/CS/WinSolution.Module.Win/MyLookupPropertyEditor.cs#L17
appearance.Font=new Font(FontFamily.GenericSansSerif, 10F, FontStyle.Underline);
((RepositoryItemLookupEdit)item).Buttons.Add(new EditorButton(ButtonPredefines.Glyph, "Edit", -1, true, true, true, HorzAlignment.Default, null, new KeyShortcut(System.Windows.Forms.Keys.Enter), appearance, "Press this button to edit the object"));
((RepositoryItemLookupEdit)item).ButtonClick += new ButtonPressedEventHandler(MyLookupPropertyEditor_ButtonClick);
how-to-display-a-context-menu-when-a-buttonedits-button-is-clicked-e818/CS/Form1.cs#L142
new DevExpress.XtraEditors.Controls.EditorButton(),
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo, "", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, "Click to open a context menu", null, null, true)});
this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1";
how-to-highlight-the-next-or-previous-search-result-in-the-grid-t367497/CS/WindowsFormsApplication2/FindHelper.cs#L88
edit.Properties.Buttons.Clear();
showResult = new EditorButton(ButtonPredefines.Glyph, "0 of 0", 0, false, true, false, ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(Keys.None), null, "", null, null, true);
edit.Properties.Buttons.AddRange(new EditorButton[] {
how-to-make-the-buttonedits-buttons-work-as-check-buttons-e1931/VB/Form1.vb#L127
Me.repositoryItemMyButtonEdit1.AutoHeight = False
Me.repositoryItemMyButtonEdit1.Buttons.AddRange(New DevExpress.XtraEditors.Controls.EditorButton() {New DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "Test", -1, True, True, False, DevExpress.XtraEditors.ImageLocation.MiddleCenter, Nothing, New DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), SerializableAppearanceObject1, "", Nothing, Nothing)})
Me.repositoryItemMyButtonEdit1.CheckedChar = Global.Microsoft.VisualBasic.ChrW(49)
how-to-prevent-buttonedits-buttons-from-filling-the-entire-editors-height-e2174/VB/VB/Form1.vb#L98
Me.myButtonEdit4.Properties.Appearance.Options.UseFont = True
Me.myButtonEdit4.Properties.Buttons.AddRange(New DevExpress.XtraEditors.Controls.EditorButton() { New DevExpress.XtraEditors.Controls.EditorButton(), New DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, True, True, True, DevExpress.XtraEditors.ImageLocation.MiddleCenter, (CType(resources.GetObject("myButtonEdit4.Properties.Buttons"), System.Drawing.Image)), New DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, "", Nothing, Nothing, True)})
Me.myButtonEdit4.Properties.ButtonsAlignment = DevExpress.Utils.VertAlignment.Bottom
XAF_how-to-add-a-custom-button-into-lookuppropertyeditor-to-edit-the-currently-selected-record-e774/VB/WinSolution.Module.Win/MyLookupPropertyEditor.vb#L21
appearance.Font = New Font(FontFamily.GenericSansSerif, 10F, FontStyle.Underline)
CType(item, RepositoryItemLookupEdit).Buttons.Add(New EditorButton(ButtonPredefines.Glyph, "Edit", -1, True, True, True, HorzAlignment.Default, Nothing, New KeyShortcut(System.Windows.Forms.Keys.Enter), appearance, "Press this button to edit the object"))
AddHandler (CType(item, RepositoryItemLookupEdit)).ButtonClick, AddressOf MyLookupPropertyEditor_ButtonClick
how-to-display-a-context-menu-when-a-buttonedits-button-is-clicked-e818/VB/Form1.vb#L131
Me.repositoryItemButtonEdit1.AutoHeight = False
Me.repositoryItemButtonEdit1.Buttons.AddRange(New DevExpress.XtraEditors.Controls.EditorButton() { New DevExpress.XtraEditors.Controls.EditorButton(), New DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo, "", -1, True, True, False, DevExpress.XtraEditors.ImageLocation.MiddleCenter, Nothing, New DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, "Click to open a context menu", Nothing, Nothing, True)})
Me.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"
how-to-highlight-the-next-or-previous-search-result-in-the-grid-t367497/VB/FindHelper.vb#L83
edit.Properties.Buttons.Clear()
showResult = New EditorButton(ButtonPredefines.Glyph, "0 of 0", 0, False, True, False, ImageLocation.MiddleCenter, Nothing, New DevExpress.Utils.KeyShortcut(Keys.None), Nothing, "", Nothing, Nothing, True)
edit.Properties.Buttons.AddRange(New EditorButton() {