38 references to IsValid
PresentationCore (38)
Core\CSharp\MS\Internal\Ink\Lasso.cs (7)
341
System.Diagnostics.Debug.Assert(!crossing.IsEmpty && crossing.StartNode.
IsValid
&& crossing.EndNode.
IsValid
);
344
System.Diagnostics.Debug.Assert(!mcrossing.IsEmpty && mcrossing.StartNode.
IsValid
&& mcrossing.EndNode.
IsValid
);
351
System.Diagnostics.Debug.Assert(!mcrossing.IsEmpty && mcrossing.StartNode.
IsValid
&& mcrossing.EndNode.
IsValid
);
564
System.Diagnostics.Debug.Assert(strokeNode.
IsValid
);
Core\CSharp\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
)
855
if (!
IsValid
|| !hitNode.
IsValid
)
873
if ((
IsValid
== false) || (hitNode.
IsValid
== false))
896
if (
IsValid
== false)
923
System.Diagnostics.Debug.Assert(
IsValid
&& (_index >= 0));
955
System.Diagnostics.Debug.Assert(
IsValid
);
1009
System.Diagnostics.Debug.Assert(
IsValid
);
1027
System.Diagnostics.Debug.Assert(
IsValid
);
1045
System.Diagnostics.Debug.Assert(
IsValid
);
Core\CSharp\MS\Internal\Ink\StrokeRenderer.cs (11)
79
System.Diagnostics.Debug.Assert(true == strokeNode.
IsValid
);
276
if (!prevPrevStrokeNode.
IsValid
)
278
if (prevStrokeNode.
IsValid
)
294
if (!prevStrokeNode.
IsValid
)
296
if (strokeNode.
IsValid
)
368
if (!strokeNode.
IsValid
)
628
if (prevPrevStrokeNode.
IsValid
)
630
if (prevStrokeNode.
IsValid
)
637
Debug.Assert(!strokeNode.
IsValid
);
692
else if (prevStrokeNode.
IsValid
&& strokeNode.
IsValid
)