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: Ab3d.Common.Reader3ds
Assembly: Ab3d.Reader3ds (in Ab3d.Reader3ds.dll) Version: 9.0.5590.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