Serialization\VisualSerializer.cs (55)
402WriteAttr("Color", ColorToString(stop.Color));
403WriteAttr("Offset", stop.Offset);
420WriteAttr("x:Key", "bxx");
439WriteAttr("ViewportUnits", mapmode);
440WriteAttr("TileMode", brush.TileMode);
537WriteAttr("ViewboxUnits", BrushMappingMode.Absolute);
567WriteAttr("Viewbox", vb.ToString(CultureInfo.InvariantCulture));
568WriteAttr("Viewport", vp.ToString(CultureInfo.InvariantCulture));
676WriteAttr(attribute, bitmapUri);
700WriteAttr("Color", sb.Color);
722WriteAttr("StartPoint", Utility.MapPoint(bounds, lb.StartPoint));
723WriteAttr("EndPoint", Utility.MapPoint(bounds, lb.EndPoint));
724WriteAttr("ColorInterpolationMode", lb.ColorInterpolationMode);
725WriteAttr("MappingMode", mapmode);
727WriteAttr("SpreadMethod", lb.SpreadMethod);
751WriteAttr("MappingMode", mapmode);
753WriteAttr("SpreadMethod", rb.SpreadMethod);
754WriteAttr("ColorInterpolationMode", rb.ColorInterpolationMode);
756WriteAttr("Center", Utility.MapPoint(bounds, rb.Center));
757WriteAttr("RadiusX", Math.Abs(rb.RadiusX * bounds.Width));
758WriteAttr("RadiusY", Math.Abs(rb.RadiusY * bounds.Height));
759WriteAttr("GradientOrigin", Utility.MapPoint(bounds, rb.GradientOrigin));
924WriteAttr("StrokeThickness", Math.Abs(pen.Thickness));
934WriteAttr("StrokeMiterLimit", Math.Max(1.0, pen.MiterLimit));
938WriteAttr("StrokeLineJoin", pen.LineJoin);
944WriteAttr("StrokeDashCap", pen.DashCap);
946WriteAttr("StrokeDashOffset", pen.DashStyle.Offset);
960WriteAttr("StrokeDashArray", dashes);
1015WriteAttr("StartPoint", p.StartPoint);
1020WriteAttr("IsFilled", "false");
1047WriteAttr("Points", pl.Points);
1055WriteAttr("Points", l.Points);
1063WriteAttr("Points", l.Point);
1091WriteAttr("Points", a.Point);
1098WriteAttr("Point", a.Point);
1099WriteAttr("Size", a.Size);
1100WriteAttr("RotationAngle", a.RotationAngle);
1102WriteAttr("SweepDirection", a.SweepDirection);
1127WriteAttr("Points", b.Points);
1137WriteAttr("IsStroked", "false");
1687WriteAttr("Name", _nameAttr);
1699WriteAttr("AutomationProperties.Name", apName);
1706WriteAttr("AutomationProperties.HelpText", apHelpText);
1715WriteAttr("FixedPage.NavigateUri", _navigateUri);
2081WriteAttr("OriginX", glyphRun.BaselineOrigin.X + dx);
2082WriteAttr("OriginY", glyphRun.BaselineOrigin.Y + dy);
2083WriteAttr("FontRenderingEmSize", glyphRun.FontRenderingEmSize);
2097WriteAttr("FontUri", uri);
2148WriteAttr("UnicodeString", characters);
2158WriteAttr("Indices", indices);
2163WriteAttr("CaretStops", caretStops);
2190WriteAttr(XpsS0Markup.XmlLang, XpsS0Markup.XmlEngLangValue);
2194WriteAttr(XpsS0Markup.XmlLang, glyphRun.Language.ToString());
2266WriteAttr("Opacity", Math.Min(Math.Max( opacity, 0.0),1.0));
2411WriteAttr("RenderOptions.EdgeMode", edgeMode);