RhinoCommon API
UserInterfaceSectionFromWindow Method |
Find the UserInterfaceSection that created the specified instance of a
window.
Namespace: Rhino.Render.UI
Assembly: RhinoCommon (in RhinoCommon.dll)
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: UserInterfaceSectionIf a UserInterfaceSection object is found containing a reference to the requested window then return the object otherwise return null.