Attempts to retrieve the parent ViewControl for the specified view.

Namespace: Ico.WPF.Specialized
Assembly: IcoWPFSpecialized (in IcoWPFSpecialized.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public static ViewControl GetViewContainer(
	IView view
)
Visual Basic
Public Shared Function GetViewContainer ( _
	view As IView _
) As ViewControl
JScript
public static function GetViewContainer(
	view : IView
) : ViewControl

Parameters

view
Type: Ico.WPF.Specialized..::..IView
An IView instance. This instance is expected to be a FrameworkElement.

Return Value

The ViewControl containing the view or

Field Value

null if it cannot be find.

See Also