17 references to GetDefaultDrawingAttributeValue
PresentationCore (17)
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (3)
366
double height = DoubleUtil.IsZero(stylusHeight) ? (Double)DrawingAttributes.
GetDefaultDrawingAttributeValue
(KnownIds.StylusHeight) : stylusHeight;
367
double width = DoubleUtil.IsZero(stylusWidth) ? (Double)DrawingAttributes.
GetDefaultDrawingAttributeValue
(KnownIds.StylusWidth) : stylusWidth;
498
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)
70
Debug.Assert(Colors.Black == (Color)
GetDefaultDrawingAttributeValue
(KnownIds.Color));
94
Debug.Assert(StylusTip.Ellipse == (StylusTip)
GetDefaultDrawingAttributeValue
(KnownIds.StylusTip));
123
Debug.Assert(Matrix.Identity == (Matrix)
GetDefaultDrawingAttributeValue
(KnownIds.StylusTipTransform));
152
Debug.Assert(DrawingAttributes.DefaultHeight == (double)
GetDefaultDrawingAttributeValue
(KnownIds.StylusHeight));
179
Debug.Assert(DrawingAttributes.DefaultWidth == (double)
GetDefaultDrawingAttributeValue
(KnownIds.StylusWidth));
268
Debug.Assert(!(bool)
GetDefaultDrawingAttributeValue
(KnownIds.IsHighlighter));
763
System.Diagnostics.Debug.Assert(null != DrawingAttributes.
GetDefaultDrawingAttributeValue
(guid));
793
= DrawingAttributes.
GetDefaultDrawingAttributeValue
(args.OldProperty.Id);
821
= DrawingAttributes.
GetDefaultDrawingAttributeValue
(args.NewProperty.Id);
848
= DrawingAttributes.
GetDefaultDrawingAttributeValue
(args.NewProperty.Id);
895
object defaultValue = DrawingAttributes.
GetDefaultDrawingAttributeValue
(id);
921
object defaultValue = DrawingAttributes.
GetDefaultDrawingAttributeValue
(id);
939
if (null != DrawingAttributes.
GetDefaultDrawingAttributeValue
(id))
941
return DrawingAttributes.
GetDefaultDrawingAttributeValue
(id);