IReadOnlyRegionTag Interface
Provides the base requirements for an IReadOnlyRegionTag that can be associated with some text range to mark it as read-only.
public interface IReadOnlyRegionTag : ITag
Properties
IncludeFirstEdge
Gets or sets whether to consider any text ranges that align to this tag's leading (first) edge as being in the read-only region.
bool IncludeFirstEdge { get; set; }
Property Value
- Boolean:
true
if any text ranges that align to this tag's leading (first) edge are considered as in the read-only region; otherwise,false
.
IncludeLastEdge
Gets or sets whether to consider any text ranges that align to this tag's trailing (last) edge as being in the read-only region.
bool IncludeLastEdge { get; set; }
Property Value
- Boolean:
true
if any text ranges that align to this tag's trailing (last) edge are considered as in the read-only region; otherwise,false
.
IsReadOnly
Gets whether the tagged text range is currently read-only.
bool IsReadOnly { get; }
Property Value
- Boolean:
true
if the tagged text range is currently read-only; otherwise,false
.