Syncfusion.Gantt.Wpf


FindName<T> Method

Returns the template element of the given name within the Control.
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Shared Function FindName(Of T As FrameworkElement)( _
   ByVal control As Control, _
   ByVal name As String _
) As T
'Usage
 
Dim control As Control
Dim name As String
Dim value As T
 
value = DependencyObjectExtensions.FindName(Of T)(control, name)
[Extension()]
public static T FindName<T>( 
   Control control,
   string name
)
where T: FrameworkElement

Parameters

control
name

Type Parameters

T
AssemblyVersion

Syncfusion.Gantt.Wpf: 18.1460.0.36

See Also