Gets whether some text is selected. SelectionChanged is raised whenever the selection changes, this property only when it starts or stops being empty.
public bool HasSelection { get; }