Share via


ITextSelection.IsActive Property

Definition

Whether or not the selection is active.

public:
 property bool IsActive { bool get(); void set(bool value); };
public:
 property bool IsActive { bool get(); void set(bool value); };
public bool IsActive { get; set; }
member this.IsActive : bool with get, set
Public Property IsActive As Boolean

Property Value

true if the selection is active, otherwise false.

Remarks

If ActivationTracksFocus is true, this property is automatically updated when the ITextView gains and loses aggregate focus. You can still override it while ActivationTracksFocus is false, but the value will change whenever focus changes.

Applies to