17 references to GetDefaultDrawingAttributeValue
PresentationCore (17)
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (3)
377
double height = DoubleUtil.IsZero(stylusHeight) ? (Double)DrawingAttributes.
GetDefaultDrawingAttributeValue
(KnownIds.StylusHeight) : stylusHeight;
378
double width = DoubleUtil.IsZero(stylusWidth) ? (Double)DrawingAttributes.
GetDefaultDrawingAttributeValue
(KnownIds.StylusWidth) : stylusWidth;
509
System.Diagnostics.Debug.Assert(da.Color != (Color)DrawingAttributes.
GetDefaultDrawingAttributeValue
(KnownIds.Color), "Color was put in the EPC for the default value!");
System\Windows\Ink\DrawingAttributes.cs (14)
82
Debug.Assert(Colors.Black == (Color)
GetDefaultDrawingAttributeValue
(KnownIds.Color));
106
Debug.Assert(StylusTip.Ellipse == (StylusTip)
GetDefaultDrawingAttributeValue
(KnownIds.StylusTip));
135
Debug.Assert(Matrix.Identity == (Matrix)
GetDefaultDrawingAttributeValue
(KnownIds.StylusTipTransform));
164
Debug.Assert(DrawingAttributes.DefaultHeight == (double)
GetDefaultDrawingAttributeValue
(KnownIds.StylusHeight));
191
Debug.Assert(DrawingAttributes.DefaultWidth == (double)
GetDefaultDrawingAttributeValue
(KnownIds.StylusWidth));
280
Debug.Assert(false == (bool)
GetDefaultDrawingAttributeValue
(KnownIds.IsHighlighter));
775
System.Diagnostics.Debug.Assert(null != DrawingAttributes.
GetDefaultDrawingAttributeValue
(guid));
805
= DrawingAttributes.
GetDefaultDrawingAttributeValue
(args.OldProperty.Id);
833
= DrawingAttributes.
GetDefaultDrawingAttributeValue
(args.NewProperty.Id);
860
= DrawingAttributes.
GetDefaultDrawingAttributeValue
(args.NewProperty.Id);
907
object defaultValue = DrawingAttributes.
GetDefaultDrawingAttributeValue
(id);
933
object defaultValue = DrawingAttributes.
GetDefaultDrawingAttributeValue
(id);
951
if (null != DrawingAttributes.
GetDefaultDrawingAttributeValue
(id))
953
return DrawingAttributes.
GetDefaultDrawingAttributeValue
(id);