JadeXamlControl Class

A JadeXamlControl control enables JADE systems to utilize the facilities offered by .NET 3 Foundation. The content of this control type is defined entirely by a Windows Presentation Foundation (WPF) Extensible Application Markup Language (XAML) definition. The control is essentially an empty canvas on which the XAML definition is displayed. It has a WPF dock panel that causes the XAML element or elements to be sized to the control size.

A JadeXamlControl control can have child controls (including in the JADE Painter). A child of a XAML control cannot be transparent (that is, the transparent property is ignored).

Transparent sibling controls are always painted before a JadeXamlControl control, regardless of their zOrder settings. It is not possible to handle the painting of transparent controls in the correct zOrder when some controls are directly painted by JADE and others are painted by Windows separately.

As the JadeXamlControl class is a subclass of the Control class, it inherits all of the properties and methods defined in the Control class and Window class. However, the following JADE control properties are ignored, as they are not relevant or they are ignored in favor of the defined XAML setup.

Control Description
automaticCellControl Use of a XAML control as a Table cell control is not supported
autoRedraw Dynamic drawing on the control is not supported
backColor Used only if the XAML content is not set
backBrush Not supported
borderStyle Ignored in favor of the XAML definition
draw-related properties Dynamic drawing on the control is not supported
font-related properties Ignored in favor of the XAML definition
ignoreSkin Skinning a XAML control is not supported
show3D Ignored in favor of the XAML definition

For a summary of the property, methods, and events defined in the JadeXamlControl class, see "JadeXamlControl Property", "JadeXamlControl Methods", and "JadeXamlControl Events", in the following subsections.