BindableWidgetFindParentT Method (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
Syntax public T FindParent<T>(
string id = null
)
where T : BindableWidget
Public Function FindParent(Of T As BindableWidget) (
Optional id As String = Nothing
) As T
member FindParent :
?id : string
(* Defaults:
let _id = defaultArg id null
*)
-> 'T when 'T : BindableWidget
Parameters
- id (Optional)
- Type: SystemString
Identifier of the parent control to find, or null to ignore
Type Parameters
- T
- The type of control to find
Return Value
Type:
TThe parent if found, or null if not found
See Also