17 references to GetDefaultDrawingAttributeValue
PresentationCore (17)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (3)
387
double height = DoubleUtil.IsZero(stylusHeight) ? (Double)DrawingAttributes.
GetDefaultDrawingAttributeValue
(KnownIds.StylusHeight) : stylusHeight;
388
double width = DoubleUtil.IsZero(stylusWidth) ? (Double)DrawingAttributes.
GetDefaultDrawingAttributeValue
(KnownIds.StylusWidth) : stylusWidth;
530
System.Diagnostics.Debug.Assert(da.Color != (Color)DrawingAttributes.
GetDefaultDrawingAttributeValue
(KnownIds.Color), "Color was put in the EPC for the default value!");
Core\CSharp\System\Windows\Ink\DrawingAttributes.cs (14)
84
Debug.Assert(Colors.Black == (Color)
GetDefaultDrawingAttributeValue
(KnownIds.Color));
108
Debug.Assert(StylusTip.Ellipse == (StylusTip)
GetDefaultDrawingAttributeValue
(KnownIds.StylusTip));
137
Debug.Assert(Matrix.Identity == (Matrix)
GetDefaultDrawingAttributeValue
(KnownIds.StylusTipTransform));
166
Debug.Assert(DrawingAttributes.DefaultHeight == (double)
GetDefaultDrawingAttributeValue
(KnownIds.StylusHeight));
193
Debug.Assert(DrawingAttributes.DefaultWidth == (double)
GetDefaultDrawingAttributeValue
(KnownIds.StylusWidth));
282
Debug.Assert(false == (bool)
GetDefaultDrawingAttributeValue
(KnownIds.IsHighlighter));
780
System.Diagnostics.Debug.Assert(null != DrawingAttributes.
GetDefaultDrawingAttributeValue
(guid));
810
= DrawingAttributes.
GetDefaultDrawingAttributeValue
(args.OldProperty.Id);
839
= DrawingAttributes.
GetDefaultDrawingAttributeValue
(args.NewProperty.Id);
867
= DrawingAttributes.
GetDefaultDrawingAttributeValue
(args.NewProperty.Id);
914
object defaultValue = DrawingAttributes.
GetDefaultDrawingAttributeValue
(id);
940
object defaultValue = DrawingAttributes.
GetDefaultDrawingAttributeValue
(id);
958
if (null != DrawingAttributes.
GetDefaultDrawingAttributeValue
(id))
960
return DrawingAttributes.
GetDefaultDrawingAttributeValue
(id);