Gets a GwxElement for the specified Visual.

Namespace: Ico.Gwx
Assembly: GwxConfigCore (in GwxConfigCore.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public static GwxElement FromVisual(
	Visual visual,
	GwxConfiguration config
)
Visual Basic
Public Shared Function FromVisual ( _
	visual As Visual, _
	config As GwxConfiguration _
) As GwxElement
JScript
public static function FromVisual(
	visual : Visual, 
	config : GwxConfiguration
) : GwxElement

Parameters

visual
Type: System.Windows.Media..::..Visual
A Visual.
config
Type: Ico.Gwx..::..GwxConfiguration
GwxConfiguration assocaited with the element.

Return Value

A GwxElement, or null.

See Also