ITextSelection.IsActive Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.