Click or drag to resize
BaseXamlWriterSettingsRootObject Property
Gets or sets a string to specify a custom root object. If null or empty the last read object will be set as root object. (example values: "UserControl" or "Window").

Namespace: Ab3d.Common.Reader3ds
Assembly: Ab3d.Reader3ds (in Ab3d.Reader3ds.dll) Version: 9.0.5590.1040
Syntax
C#
public string RootObject { get; set; }

Property Value

Type: String
Remarks

RootObject specifies the object that will be used as a root objects in the returned xaml.

If null or empty the last read object will be set as root object.

With setting the RootObject a custom object can be used as a root object. For example "UserControl" or "Window".

It is also possible to specify more then one root object - for example "UserControl;Grid;Grid". This will use UserControl as a root object and than add Grid as its child. The read objects will be then added to the Grid.

See Also