BindableWidgetFindParent Method (Type, String) | 
 
            Finds a control in the parent hierarchy with the specified type and 
ID if specified
            
 
    Namespace: 
   Eto.Forms
    Assembly:
   Eto (in Eto.dll) Version: 2.5.3-dev
Syntaxpublic Widget FindParent(
	Type type,
	string id = null
)
Public Function FindParent ( 
	type As Type,
	Optional id As String = Nothing
) As Widget
member FindParent : 
        type : Type * 
        ?id : string 
(* Defaults:
        let _id = defaultArg id null
*)
-> Widget 
Parameters
- type
 - Type: SystemType
The type of control to find. - id (Optional)
 - Type: SystemString
Identifier of the parent control to find, or null to find by type only. 
Return Value
Type: 
WidgetThe parent if found, or null if not found.
See Also