NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TabPage.GetTabPageOfComponent

Given a component, this retrieves the tab page that it's parented to, or null if it's not parented to any tab page.

[Visual Basic]
Public Shared Function GetTabPageOfComponent( _
   ByVal comp As Object _
) As TabPage
[C#]
public static TabPage GetTabPageOfComponent(
   object comp
);
[C++]
public: static TabPage* GetTabPageOfComponent(
   Object* comp
);
[JScript]
public static function GetTabPageOfComponent(
   comp : Object
) : TabPage;

Parameters

comp
The component to check.

Return Value

a TabPage that the component is parented to, or null if no such page exists. This will return the component if it is an instance of TabPage.

See Also

TabPage Class | TabPage Members | System.WinForms Namespace