17 references to GetDefaultDrawingAttributeValue
PresentationCore (17)
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (3)
377double height = DoubleUtil.IsZero(stylusHeight) ? (Double)DrawingAttributes.GetDefaultDrawingAttributeValue(KnownIds.StylusHeight) : stylusHeight; 378double width = DoubleUtil.IsZero(stylusWidth) ? (Double)DrawingAttributes.GetDefaultDrawingAttributeValue(KnownIds.StylusWidth) : stylusWidth; 509System.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)
82Debug.Assert(Colors.Black == (Color)GetDefaultDrawingAttributeValue(KnownIds.Color)); 106Debug.Assert(StylusTip.Ellipse == (StylusTip)GetDefaultDrawingAttributeValue(KnownIds.StylusTip)); 135Debug.Assert(Matrix.Identity == (Matrix)GetDefaultDrawingAttributeValue(KnownIds.StylusTipTransform)); 164Debug.Assert(DrawingAttributes.DefaultHeight == (double)GetDefaultDrawingAttributeValue(KnownIds.StylusHeight)); 191Debug.Assert(DrawingAttributes.DefaultWidth == (double)GetDefaultDrawingAttributeValue(KnownIds.StylusWidth)); 280Debug.Assert(false == (bool)GetDefaultDrawingAttributeValue(KnownIds.IsHighlighter)); 775System.Diagnostics.Debug.Assert(null != DrawingAttributes.GetDefaultDrawingAttributeValue(guid)); 805= DrawingAttributes.GetDefaultDrawingAttributeValue(args.OldProperty.Id); 833= DrawingAttributes.GetDefaultDrawingAttributeValue(args.NewProperty.Id); 860= DrawingAttributes.GetDefaultDrawingAttributeValue(args.NewProperty.Id); 907object defaultValue = DrawingAttributes.GetDefaultDrawingAttributeValue(id); 933object defaultValue = DrawingAttributes.GetDefaultDrawingAttributeValue(id); 951if (null != DrawingAttributes.GetDefaultDrawingAttributeValue(id)) 953return DrawingAttributes.GetDefaultDrawingAttributeValue(id);