TextTaskItem.IsHeading 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.
Gets a value indicating whether the task item is a heading.
public:
property bool IsHeading { bool get(); };
public bool IsHeading { get; }
member this.IsHeading : bool
Public ReadOnly Property IsHeading As Boolean
Property Value
true
if the task item is a heading; otherwise, false
. The default is false
.
Examples
The following example enumerates the task list array and sends the IsHeading state of all TextTaskItem objects to the trace listener.
foreach (TaskItem item in items) {
if (item is TextTaskItem) {
TextTaskItem tti = (TextTaskItem)item;
if (tti.Image != null)
DisplayImg(tti.Image);
}
}