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