14 references to MetricEntry_Optional
PresentationCore (14)
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (5)
1475
if (MetricEntry.
MetricEntry_Optional
[dw].Tag == tag)
1477
minimum = MetricEntry.
MetricEntry_Optional
[dw].PropertyMetrics.Minimum;
1478
maximum = MetricEntry.
MetricEntry_Optional
[dw].PropertyMetrics.Maximum;
1479
resolution = MetricEntry.
MetricEntry_Optional
[dw].PropertyMetrics.Resolution;
1480
unit = MetricEntry.
MetricEntry_Optional
[dw].PropertyMetrics.Unit;
MS\Internal\Ink\InkSerializedFormat\MetricEntry.cs (9)
59
public static StylusPointPropertyInfo DefaultXMetric =
MetricEntry_Optional
[0].PropertyMetrics;
61
public static StylusPointPropertyInfo DefaultYMetric =
MetricEntry_Optional
[1].PropertyMetrics;
291
Initialize(propertyInfo,
MetricEntry_Optional
[index].PropertyMetrics);
365
for( ul = 0; ul<
MetricEntry_Optional
.Length; ul++ )
367
if( ((MetricEntryList)
MetricEntry_Optional
[ul]).Tag == tag )
370
if( propertyInfo.Minimum ==
MetricEntry_Optional
[ul].PropertyMetrics.Minimum &&
371
propertyInfo.Maximum ==
MetricEntry_Optional
[ul].PropertyMetrics.Maximum &&
372
propertyInfo.Unit ==
MetricEntry_Optional
[ul].PropertyMetrics.Unit &&
373
DoubleUtil.AreClose(propertyInfo.Resolution,
MetricEntry_Optional
[ul].PropertyMetrics.Resolution) )