Skip to main content

How to: Create a ButtonEdit with a Custom Button

The following example shows how to create a ButtonEdit with the Clear button that clears the editor's value.

View Example

using System.Windows;

namespace ButtonEdit_Creating {
    public partial class Window1 : Window {
        public Window1() {
        private void ButtonInfo_Click(object sender, RoutedEventArgs e) {
            buttonEdit.EditValue = string.Empty;