Click or drag to resize

MapSetThemeFromXaml Method

Sets the current theme from a XAML file provided by the stream. The XAML file must contain a ResourceDictionary on the top level. See the attached XAML files in the demo project.

See the Theming Concept topic for an example.

Namespace:  Ptv.XServer.Controls.Map
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public void SetThemeFromXaml(
	Stream stream
)

Parameters

stream
Type: System.IOStream
The stream providing a XML file with a ResourceDictionary on the top level.
See Also