public void Clear() { //if(_owner!=null) // _owner.ExitTextSelection(); _state = SelectionState.Empty; _forwardPivot.Clear(); _backwardPivot.Clear(); _forwardDestination.Clear(); _backwardDestination.Clear(); //_disabledTemporary = false; }
public void Clear() { if (_owner != null) { _owner.ExitTextSelection(); } _owner = null; _state = SelectionState.Empty; _pivotType = RangeType.Char; _forwardPivot.Clear(); _backwardPivot.Clear(); _forwardDestination.Clear(); _backwardDestination.Clear(); _disabledTemporary = false; }