Click or drag to resize
BaseXamlWriterSettingsWriteTransformationsAsElement Property
Gets or sets a Boolean that specifies if the transformations are written as inner elements or as attributes.

Namespace: Ab2d.Common.ReaderWmf
Assembly: Ab2d.ReaderWmf (in Ab2d.ReaderWmf.dll) Version: 7.1.5512.1040
Syntax
C#
public bool WriteTransformationsAsElement { get; set; }

Property Value

Type: Boolean
Remarks

If WriteTransformationsAsElement is true than the transformations are written as inner elements. For example:

<Canvas>
<RenderTransform>
<MatrixTransform Matrix="1 0 0 1 10 20"/>
</RenderTransform>
...

If WriteTransformationsAsElement is false than the transformations are written as attributes. For example:

XAML
<Canvas RenderTransform="1 0 0 10 20"...

NOTE:
For Silverlight projects the visual designer in Visual Studio 2010 and Expression Blend may not parse transformations as attributes correctly! It works correctly for WPF projects. So for Silverlight projects it is recommended to write transformations as elements.

See Also