UserInterfaceSection.FromWindow Method

UserInterfaceSectionFromWindow Method

Find the UserInterfaceSection that created the specified instance of a window.

Namespace:  Rhino.Render.UI
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static UserInterfaceSection FromWindow(
	Object window
)
Public Shared Function FromWindow ( 
	window As Object
) As UserInterfaceSection

Parameters

window
Type: SystemObject
If window is not null then look for the UserInterfaceSection that created the window.

Return Value

Type: UserInterfaceSection
If a UserInterfaceSection object is found containing a reference to the requested window then return the object otherwise return null.
Version Information

Rhino for Windows

Supported in: 6.14
See Also