Some normal tasks in DevExpress controls can be non-trivial. The first one that comes to mind is adding a line to a MemoEdit. The code recommended by DevExpress is awkward.

This seems to be a nice situation in which to use Extension Methods to simplify this task. DxExtensions is an assembly to add these extension methods.

DxExtensions consists of:

  • memoEdit.Append("text");
  • memoEdit.AppendLine();
  • memoEdit.AppendLine("text");
  • memoEdit.AppendLineNoScroll();
  • memoEdit.AppendLineNoScroll("text");