22 references to Template
PresentationCore (22)
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (12)
906
descr.
Template
.Add(tag);
919
descr.
Template
.Add((KnownTagCache.KnownTagIndex)cbButton);
930
descr.
Template
.Add((KnownTagCache.KnownTagIndex)dw);
946
descr.
Template
.Add((KnownTagCache.KnownTagIndex)dw);
1584
while (cTags < strd.
Template
.Count)
1586
KnownTagCache.KnownTagIndex tag = (KnownTagCache.KnownTagIndex)strd.
Template
[cTags];
1593
buttonCount = (uint)strd.
Template
[cTags];
1600
Guid guid = guidList.FindGuid(strd.
Template
[cTags]);
1622
tags.Add(strd.
Template
[cTags]);
2228
if (tmp.
Template
.Count == 0)
2324
for (int count = 0; count < strd.
Template
.Count; count++)
2327
cbData += SerializationHelper.Encode(strm, (uint)strd.
Template
[count]);
MS\Internal\Ink\InkSerializedFormat\StrokeDescriptor.cs (2)
41
if( _strokeDescriptor.Count != strd.
Template
.Count )
46
if( _strokeDescriptor[i] != strd.
Template
[i] )
MS\Internal\Ink\InkSerializedFormat\StrokeSerializer.cs (8)
173
for (int iTag = 1; iTag < strokeDescriptor.
Template
.Count && remainingBytesInStrokeBlock > 0; iTag++)
175
KnownTagCache.KnownTagIndex tag = strokeDescriptor.
Template
[iTag - 1];
182
while (iTag < strokeDescriptor.
Template
.Count && remainingBytesInStrokeBlock > 0)
184
tag = strokeDescriptor.
Template
[iTag];
214
iTag += (int)((uint)strokeDescriptor.
Template
[iTag]) + 1;
733
strokeDescriptor.
Template
.Add(tag);
770
strokeDescriptor.
Template
.Add(KnownTagCache.KnownTagIndex.StrokePropertyList);
778
strokeDescriptor.
Template
.Add(tag);