ControlFindParent 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
Syntax public Container FindParent(
Type type,
string id = null
)
Public Function FindParent (
type As Type,
Optional id As String = Nothing
) As Container
member FindParent :
type : Type *
?id : string
(* Defaults:
let _id = defaultArg id null
*)
-> Container
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:
ContainerThe parent if found, or null if not found.
See Also