17 references to GetDefaultDrawingAttributeValue
PresentationCore (17)
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (3)
367
double height = DoubleUtil.IsZero(stylusHeight) ? (Double)DrawingAttributes.
GetDefaultDrawingAttributeValue
(KnownIds.StylusHeight) : stylusHeight;
368
double width = DoubleUtil.IsZero(stylusWidth) ? (Double)DrawingAttributes.
GetDefaultDrawingAttributeValue
(KnownIds.StylusWidth) : stylusWidth;
499
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)
71
Debug.Assert(Colors.Black == (Color)
GetDefaultDrawingAttributeValue
(KnownIds.Color));
95
Debug.Assert(StylusTip.Ellipse == (StylusTip)
GetDefaultDrawingAttributeValue
(KnownIds.StylusTip));
124
Debug.Assert(Matrix.Identity == (Matrix)
GetDefaultDrawingAttributeValue
(KnownIds.StylusTipTransform));
153
Debug.Assert(DrawingAttributes.DefaultHeight == (double)
GetDefaultDrawingAttributeValue
(KnownIds.StylusHeight));
180
Debug.Assert(DrawingAttributes.DefaultWidth == (double)
GetDefaultDrawingAttributeValue
(KnownIds.StylusWidth));
269
Debug.Assert(false == (bool)
GetDefaultDrawingAttributeValue
(KnownIds.IsHighlighter));
764
System.Diagnostics.Debug.Assert(null != DrawingAttributes.
GetDefaultDrawingAttributeValue
(guid));
794
= DrawingAttributes.
GetDefaultDrawingAttributeValue
(args.OldProperty.Id);
822
= DrawingAttributes.
GetDefaultDrawingAttributeValue
(args.NewProperty.Id);
849
= DrawingAttributes.
GetDefaultDrawingAttributeValue
(args.NewProperty.Id);
896
object defaultValue = DrawingAttributes.
GetDefaultDrawingAttributeValue
(id);
922
object defaultValue = DrawingAttributes.
GetDefaultDrawingAttributeValue
(id);
940
if (null != DrawingAttributes.
GetDefaultDrawingAttributeValue
(id))
942
return DrawingAttributes.
GetDefaultDrawingAttributeValue
(id);