22 references to Template
PresentationCore (22)
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (12)
895descr.Template.Add(tag); 908descr.Template.Add((KnownTagCache.KnownTagIndex)cbButton); 919descr.Template.Add((KnownTagCache.KnownTagIndex)dw); 935descr.Template.Add((KnownTagCache.KnownTagIndex)dw); 1569while (cTags < strd.Template.Count) 1571KnownTagCache.KnownTagIndex tag = (KnownTagCache.KnownTagIndex)strd.Template[cTags]; 1578buttonCount = (uint)strd.Template[cTags]; 1585Guid guid = guidList.FindGuid(strd.Template[cTags]); 1607tags.Add(strd.Template[cTags]); 2205if (tmp.Template.Count == 0) 2301for (int count = 0; count < strd.Template.Count; count++) 2304cbData += SerializationHelper.Encode(strm, (uint)strd.Template[count]);
MS\Internal\Ink\InkSerializedFormat\StrokeDescriptor.cs (2)
39if( _strokeDescriptor.Count != strd.Template.Count ) 44if( _strokeDescriptor[i] != strd.Template[i] )
MS\Internal\Ink\InkSerializedFormat\StrokeSerializer.cs (8)
166for (int iTag = 1; iTag < strokeDescriptor.Template.Count && remainingBytesInStrokeBlock > 0; iTag++) 168KnownTagCache.KnownTagIndex tag = strokeDescriptor.Template[iTag - 1]; 175while (iTag < strokeDescriptor.Template.Count && remainingBytesInStrokeBlock > 0) 177tag = strokeDescriptor.Template[iTag]; 207iTag += (int)((uint)strokeDescriptor.Template[iTag]) + 1; 726strokeDescriptor.Template.Add(tag); 763strokeDescriptor.Template.Add(KnownTagCache.KnownTagIndex.StrokePropertyList); 771strokeDescriptor.Template.Add(tag);