17 references to GetDefaultDrawingAttributeValue
PresentationCore (17)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (3)
387double height = DoubleUtil.IsZero(stylusHeight) ? (Double)DrawingAttributes.GetDefaultDrawingAttributeValue(KnownIds.StylusHeight) : stylusHeight; 388double width = DoubleUtil.IsZero(stylusWidth) ? (Double)DrawingAttributes.GetDefaultDrawingAttributeValue(KnownIds.StylusWidth) : stylusWidth; 530System.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)
84Debug.Assert(Colors.Black == (Color)GetDefaultDrawingAttributeValue(KnownIds.Color)); 108Debug.Assert(StylusTip.Ellipse == (StylusTip)GetDefaultDrawingAttributeValue(KnownIds.StylusTip)); 137Debug.Assert(Matrix.Identity == (Matrix)GetDefaultDrawingAttributeValue(KnownIds.StylusTipTransform)); 166Debug.Assert(DrawingAttributes.DefaultHeight == (double)GetDefaultDrawingAttributeValue(KnownIds.StylusHeight)); 193Debug.Assert(DrawingAttributes.DefaultWidth == (double)GetDefaultDrawingAttributeValue(KnownIds.StylusWidth)); 282Debug.Assert(false == (bool)GetDefaultDrawingAttributeValue(KnownIds.IsHighlighter)); 780System.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); 914object defaultValue = DrawingAttributes.GetDefaultDrawingAttributeValue(id); 940object defaultValue = DrawingAttributes.GetDefaultDrawingAttributeValue(id); 958if (null != DrawingAttributes.GetDefaultDrawingAttributeValue(id)) 960return DrawingAttributes.GetDefaultDrawingAttributeValue(id);