Class FrameworkElementExtensions
Extension for FrameworkElement
Inheritance
System.Object
FrameworkElementExtensions
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
---|---|---|
System.Windows.FrameworkElement | parent | the parent of the child |
System.String | name | the name of the child to be found |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T | the tape of the child |