Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RepositoryItemPopupBase.CreateDefaultButton() Method

In This Article

Creates a default button when the editor is initialized.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public override void CreateDefaultButton()

#Remarks

This method overrides the RepositoryItemButtonEdit.CreateDefaultButton method to create a button with the EditorButton.Kind property set to ButtonPredefines.Combo. By default, this button is used by editors to invoke their popup window. The button can be removed later or you can add another button and use it to invoke the editor’s popup window. Note: for this, you will need to use the RepositoryItemPopupBase.ActionButtonIndex property to specify which editor buttons will invoke the popup window.

See Also