14 references to MetricEntry_Optional
PresentationCore (14)
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (5)
1462
if (MetricEntry.
MetricEntry_Optional
[dw].Tag == tag)
1464
minimum = MetricEntry.
MetricEntry_Optional
[dw].PropertyMetrics.Minimum;
1465
maximum = MetricEntry.
MetricEntry_Optional
[dw].PropertyMetrics.Maximum;
1466
resolution = MetricEntry.
MetricEntry_Optional
[dw].PropertyMetrics.Resolution;
1467
unit = MetricEntry.
MetricEntry_Optional
[dw].PropertyMetrics.Unit;
MS\Internal\Ink\InkSerializedFormat\MetricEntry.cs (9)
57
public static StylusPointPropertyInfo DefaultXMetric =
MetricEntry_Optional
[0].PropertyMetrics;
59
public static StylusPointPropertyInfo DefaultYMetric =
MetricEntry_Optional
[1].PropertyMetrics;
289
Initialize(propertyInfo,
MetricEntry_Optional
[index].PropertyMetrics);
363
for( ul = 0; ul<
MetricEntry_Optional
.Length; ul++ )
365
if( ((MetricEntryList)
MetricEntry_Optional
[ul]).Tag == tag )
368
if( propertyInfo.Minimum ==
MetricEntry_Optional
[ul].PropertyMetrics.Minimum &&
369
propertyInfo.Maximum ==
MetricEntry_Optional
[ul].PropertyMetrics.Maximum &&
370
propertyInfo.Unit ==
MetricEntry_Optional
[ul].PropertyMetrics.Unit &&
371
DoubleUtil.AreClose(propertyInfo.Resolution,
MetricEntry_Optional
[ul].PropertyMetrics.Resolution) )