Serialization\VisualSerializer.cs (55)
394WriteAttr("Color", ColorToString(stop.Color));
395WriteAttr("Offset", stop.Offset);
412WriteAttr("x:Key", "bxx");
431WriteAttr("ViewportUnits", mapmode);
432WriteAttr("TileMode", brush.TileMode);
529WriteAttr("ViewboxUnits", BrushMappingMode.Absolute);
559WriteAttr("Viewbox", vb.ToString(CultureInfo.InvariantCulture));
560WriteAttr("Viewport", vp.ToString(CultureInfo.InvariantCulture));
668WriteAttr(attribute, bitmapUri);
693WriteAttr("Color", sb.Color);
715WriteAttr("StartPoint", Utility.MapPoint(bounds, lb.StartPoint));
716WriteAttr("EndPoint", Utility.MapPoint(bounds, lb.EndPoint));
717WriteAttr("ColorInterpolationMode", lb.ColorInterpolationMode);
718WriteAttr("MappingMode", mapmode);
720WriteAttr("SpreadMethod", lb.SpreadMethod);
744WriteAttr("MappingMode", mapmode);
746WriteAttr("SpreadMethod", rb.SpreadMethod);
747WriteAttr("ColorInterpolationMode", rb.ColorInterpolationMode);
749WriteAttr("Center", Utility.MapPoint(bounds, rb.Center));
750WriteAttr("RadiusX", Math.Abs(rb.RadiusX * bounds.Width));
751WriteAttr("RadiusY", Math.Abs(rb.RadiusY * bounds.Height));
752WriteAttr("GradientOrigin", Utility.MapPoint(bounds, rb.GradientOrigin));
917WriteAttr("StrokeThickness", Math.Abs(pen.Thickness));
927WriteAttr("StrokeMiterLimit", Math.Max(1.0, pen.MiterLimit));
931WriteAttr("StrokeLineJoin", pen.LineJoin);
937WriteAttr("StrokeDashCap", pen.DashCap);
939WriteAttr("StrokeDashOffset", pen.DashStyle.Offset);
953WriteAttr("StrokeDashArray", dashes);
1008WriteAttr("StartPoint", p.StartPoint);
1013WriteAttr("IsFilled", "false");
1040WriteAttr("Points", pl.Points);
1048WriteAttr("Points", l.Points);
1056WriteAttr("Points", l.Point);
1084WriteAttr("Points", a.Point);
1091WriteAttr("Point", a.Point);
1092WriteAttr("Size", a.Size);
1093WriteAttr("RotationAngle", a.RotationAngle);
1095WriteAttr("SweepDirection", a.SweepDirection);
1120WriteAttr("Points", b.Points);
1130WriteAttr("IsStroked", "false");
1680WriteAttr("Name", _nameAttr);
1692WriteAttr("AutomationProperties.Name", apName);
1699WriteAttr("AutomationProperties.HelpText", apHelpText);
1708WriteAttr("FixedPage.NavigateUri", _navigateUri);
2074WriteAttr("OriginX", glyphRun.BaselineOrigin.X + dx);
2075WriteAttr("OriginY", glyphRun.BaselineOrigin.Y + dy);
2076WriteAttr("FontRenderingEmSize", glyphRun.FontRenderingEmSize);
2090WriteAttr("FontUri", uri);
2141WriteAttr("UnicodeString", characters);
2151WriteAttr("Indices", indices);
2156WriteAttr("CaretStops", caretStops);
2183WriteAttr(XpsS0Markup.XmlLang, XpsS0Markup.XmlEngLangValue);
2187WriteAttr(XpsS0Markup.XmlLang, glyphRun.Language.ToString());
2259WriteAttr("Opacity", Math.Min(Math.Max( opacity, 0.0),1.0));
2404WriteAttr("RenderOptions.EdgeMode", edgeMode);