Class FrameworkElementExtensions
Extension for FrameworkElement
Namespace: Sartorius.SAF.Presentation.Extensions
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public static class FrameworkElementExtensions
Methods
View SourceFindChildByName<T>(FrameworkElement, string)
Gets a child with specified name.
Declaration
public static T FindChildByName<T>(this FrameworkElement parent, string name) where T : FrameworkElement
Parameters
| Type | Name | Description |
|---|---|---|
| FrameworkElement | parent | the parent of the child |
| string | name | the name of the child to be found |
Returns
| Type | Description |
|---|---|
| T |
Type Parameters
| Name | Description |
|---|---|
| T | the tape of the child |