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