TextEdit Class

Represents a text editor with embedded buttons.

Namespace: DevExpress.UI.Xaml.Editors

Assembly: DevExpress.UI.Xaml.Editors.v18.1.dll

Declaration

[ToolboxTabName("DX.18.1: Common Controls")]
public class TextEdit :
    BaseEdit,
    IDependencyPropertyChangeListener,
    IRoutedEventsRaiser,
    ILogicalOwner,
    IServiceContainer,
    IServiceProvider
<ToolboxTabName("DX.18.1: Common Controls")>
Public Class TextEdit
    Inherits BaseEdit
    Implements IDependencyPropertyChangeListener,
               IRoutedEventsRaiser,
               ILogicalOwner,
               IServiceContainer,
               IServiceProvider

TextEdit editors allow display of a text editor, a dropdown and an unlimited number of buttons.

TextEdit

To display custom buttons, create ButtonInfo objects and add them to the TextEdit.Buttons collection.

Examples

This example shows how to create a simple TextEdit that displays a text field and a button that clears the entered text.

using System;
using Windows.UI.Xaml.Controls;

namespace TextEdit_example {
    public sealed partial class MainPage : Page {
        public MainPage() {
            this.InitializeComponent();
        }

        private void ButtonInfo_Click(object sender, EventArgs e) {
            textEdit.EditValue = string.Empty;
        }
    }
}

Inheritance

Object
DevExpress.Core.Native.DXControl

Implements

See Also