38 references to IsValid
PresentationCore (38)
MS\Internal\Ink\Lasso.cs (7)
339
System.Diagnostics.Debug.Assert(!crossing.IsEmpty && crossing.StartNode.
IsValid
&& crossing.EndNode.
IsValid
);
342
System.Diagnostics.Debug.Assert(!mcrossing.IsEmpty && mcrossing.StartNode.
IsValid
&& mcrossing.EndNode.
IsValid
);
349
System.Diagnostics.Debug.Assert(!mcrossing.IsEmpty && mcrossing.StartNode.
IsValid
&& mcrossing.EndNode.
IsValid
);
562
System.Diagnostics.Debug.Assert(strokeNode.
IsValid
);
MS\Internal\Ink\StrokeNode.cs (20)
89
internal bool IsEllipse { get { return
IsValid
&& _operations.IsNodeShapeEllipse; } }
102
return
IsValid
? _operations.GetNodeBounds(_thisNode) : Rect.Empty;
111
return
IsValid
? Rect.Union(_operations.GetNodeBounds(_thisNode), ConnectingQuad.Bounds) : Rect.Empty;
119
if (
IsValid
)
130
if (
IsValid
)
141
if (
IsValid
)
199
if (
IsValid
)
324
if (
IsValid
)
432
if (
IsValid
&& previous.
IsValid
)
854
if (!
IsValid
|| !hitNode.
IsValid
)
872
if ((
IsValid
== false) || (hitNode.
IsValid
== false))
895
if (
IsValid
== false)
922
System.Diagnostics.Debug.Assert(
IsValid
&& (_index >= 0));
953
System.Diagnostics.Debug.Assert(
IsValid
);
1007
System.Diagnostics.Debug.Assert(
IsValid
);
1025
System.Diagnostics.Debug.Assert(
IsValid
);
1043
System.Diagnostics.Debug.Assert(
IsValid
);
MS\Internal\Ink\StrokeRenderer.cs (11)
76
System.Diagnostics.Debug.Assert(true == strokeNode.
IsValid
);
270
if (!prevPrevStrokeNode.
IsValid
)
272
if (prevStrokeNode.
IsValid
)
288
if (!prevStrokeNode.
IsValid
)
290
if (strokeNode.
IsValid
)
362
if (!strokeNode.
IsValid
)
619
if (prevPrevStrokeNode.
IsValid
)
621
if (prevStrokeNode.
IsValid
)
628
Debug.Assert(!strokeNode.
IsValid
);
681
else if (prevStrokeNode.
IsValid
&& strokeNode.
IsValid
)