Back to Devexpress

MemoEdit.Text Property

windowsforms-devexpress-dot-xtraeditors-dot-memoedit-124483bc.md

latest5.9 KB
Original Source

MemoEdit.Text Property

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public override string Text { get; set; }
vb
Public Overrides Property Text As String

Property Value

Type
String

The following code snippets (auto-collected from DevExpress Examples) contain references to the Text property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

report-server-how-to-manage-scheduled-jobs-from-a-windows-forms-application/CS/ScheduledTasksAPIClientDemo/SchedulerJobViewerForm.cs#L65

csharp
void FillRecurrencyInfo(ScheduledJobDto scheduledJob) {
    recurrencyInfo.Text = string.Empty;
    var appointment = CreateAppointment(scheduledJob);

winforms-chat-for-net-framework/CS/DevExpress.AI.WinForms.HtmlChat/ChatControl.cs#L62

csharp
e.Handled = true;
string text = messageEdit.Text;
messageEdit.BeginInvoke(new Action(() => messageEdit.Text = string.Empty));

integrate-devextreme-javascript-html-editor-into-winforms-app/CS/MainForm.cs#L14

csharp
ShowOverlay();
    sourceMemoEdit.Text = "Hello DevExpress Html Editor!";
}

winforms-mvvm-best-practices/CS/Messenger/SendingAndReceivingMessagesUserControl.cs#L59

csharp
void OnStringMessage(string message) {
    memo.Text += ("String message: " + message + Environment.NewLine);
    memo.SelectionStart = memo.Text.Length;

winforms-scheduler-create-appointments-on-reminder-alert/CS/ReminderCustomActions/Form1.cs#L115

csharp
void SelectedAppointments_CollectionChanged(object sender, DevExpress.Utils.CollectionChangedEventArgs<Appointment> e) {
    memoEdit1.Text = "";
    if (schedulerControl1.SelectedAppointments.Count == 0) return;

report-server-how-to-manage-scheduled-jobs-from-a-windows-forms-application/VB/ScheduledTasksAPIClientDemo/SchedulerJobViewerForm.vb#L65

vb
Private Sub FillRecurrencyInfo(ByVal scheduledJob As ScheduledJobDto)
    recurrencyInfo.Text = String.Empty
    Dim appointment = CreateAppointment(scheduledJob)

winforms-mvvm-best-practices/VB/Messenger/SendingAndReceivingMessagesUserControl.vb#L57

vb
Private Sub OnStringMessage(ByVal message As String)
    memo.Text += ("String message: " & message & Environment.NewLine)
    memo.SelectionStart = memo.Text.Length

winforms-scheduler-create-appointments-on-reminder-alert/VB/ReminderCustomActions/Form1.vb#L117

vb
Private Sub SelectedAppointments_CollectionChanged(ByVal sender As Object, ByVal e As DevExpress.Utils.CollectionChangedEventArgs(Of Appointment))
    memoEdit1.Text = ""
    If schedulerControl1.SelectedAppointments.Count = 0 Then

winforms-map-get-geo-point-info-from-bing-geocode-service/VB/RequestLocationInformation/Form1.vb#L82

vb
If e.Result.ResultCode <> RequestResultCode.Success Then
    meResult.Text = "The Bing Geocode service does not work for this location."
    Return

how-to-implement-a-custom-inplace-editor-for-appointments-e4826/VB/SchedulerInplaceEditorExample/MyInplaceEditor.vb#L92

vb
Me.edtSubject.Text = appointment.Subject
    Me.edtDescription.Text = appointment.Description
End Sub

See Also

MemoEdit Class

MemoEdit Members

DevExpress.XtraEditors Namespace