Click or drag to resize

IControlPanelManagerSetXamlControlPanel Method (Visual, String, Boolean)

Set the XAML of a Visual's Control Panel as a string

Namespace:  Demo3D.ControlPanel
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 18.03.00
Syntax
C#
void SetXamlControlPanel(
	Visual visual,
	string xaml,
	bool showControlPanel = false
)

Parameters

visual
Type: Demo3D.VisualsVisual
The visual's XAML that will be set
xaml
Type: SystemString
The new Control Panel XAML as a string
showControlPanel (Optional)
Type: SystemBoolean
Show the Control Panel window after updating the XAML
See Also