A newer version of this page is available. Switch to the current version.
Represents a null value button (delete button).
public class DeleteButtonInfo : ButtonInfoBase
Public Class DeleteButtonInfo Inherits ButtonInfoBase
How to Add the Delete Button
You can use any of the following ways to add the delete button.
- Set the ButtonEdit.NullValueButtonPlacement (or the ButtonEditSettings.NullValueButtonPlacement for the in-place ButtonEdit) property to EditorPlacement.EditBox to display the delete button in the editor's edit box.
- Add a DeleteButtonInfo class instance to the editor's ButtonEdit.Buttons (ButtonEditSettings.Buttons for the in-place ButtonEdit) collection. In this case, you can fully customize the delete button's behavior and appearance. To set the default button's behavior, set the DeleteButtonInfo.IsDefault property to true.