38 references to IsValid
PresentationCore (38)
MS\Internal\Ink\Lasso.cs (7)
335
System.Diagnostics.Debug.Assert(!crossing.IsEmpty && crossing.StartNode.
IsValid
&& crossing.EndNode.
IsValid
);
338
System.Diagnostics.Debug.Assert(!mcrossing.IsEmpty && mcrossing.StartNode.
IsValid
&& mcrossing.EndNode.
IsValid
);
345
System.Diagnostics.Debug.Assert(!mcrossing.IsEmpty && mcrossing.StartNode.
IsValid
&& mcrossing.EndNode.
IsValid
);
558
System.Diagnostics.Debug.Assert(strokeNode.
IsValid
);
MS\Internal\Ink\StrokeNode.cs (20)
83
internal bool IsEllipse { get { return
IsValid
&& _operations.IsNodeShapeEllipse; } }
96
return
IsValid
? _operations.GetNodeBounds(_thisNode) : Rect.Empty;
105
return
IsValid
? Rect.Union(_operations.GetNodeBounds(_thisNode), ConnectingQuad.Bounds) : Rect.Empty;
113
if (
IsValid
)
124
if (
IsValid
)
135
if (
IsValid
)
193
if (
IsValid
)
318
if (
IsValid
)
426
if (
IsValid
&& previous.
IsValid
)
848
if (!
IsValid
|| !hitNode.
IsValid
)
866
if ((
IsValid
== false) || (hitNode.
IsValid
== false))
889
if (
IsValid
== false)
916
System.Diagnostics.Debug.Assert(
IsValid
&& (_index >= 0));
947
System.Diagnostics.Debug.Assert(
IsValid
);
1001
System.Diagnostics.Debug.Assert(
IsValid
);
1019
System.Diagnostics.Debug.Assert(
IsValid
);
1037
System.Diagnostics.Debug.Assert(
IsValid
);
MS\Internal\Ink\StrokeRenderer.cs (11)
71
System.Diagnostics.Debug.Assert(true == strokeNode.
IsValid
);
267
if (!prevPrevStrokeNode.
IsValid
)
269
if (prevStrokeNode.
IsValid
)
285
if (!prevStrokeNode.
IsValid
)
287
if (strokeNode.
IsValid
)
359
if (!strokeNode.
IsValid
)
616
if (prevPrevStrokeNode.
IsValid
)
618
if (prevStrokeNode.
IsValid
)
625
Debug.Assert(!strokeNode.
IsValid
);
678
else if (prevStrokeNode.
IsValid
&& strokeNode.
IsValid
)