/// <summary> /// Select all text in the text item that has the focus. /// </summary> private void SelectAll() { CanvasItem item = DisplayedItem; if (item != null) { item.SelectAll(); } }