ControlBase.GetRequiredTemplateChild(T) Method
Click or drag to resize
ControlBaseGetRequiredTemplateChildT Method
Gets the required template child.

Namespace: Telerik.Windows.Controls.Spreadsheet.Core
Assembly: Telerik.Windows.Controls.Spreadsheet (in Telerik.Windows.Controls.Spreadsheet.dll) Version: 2018.2.620.40 (2018.2.620.40)
Syntax
protected T GetRequiredTemplateChild<T>(
	string childName,
	bool crashIfNotFound = true
)
where T : DependencyObject

Parameters

childName
Type: SystemString
Name of the child.
crashIfNotFound (Optional)
Type: SystemBoolean
If true the method will throw exception if the required child is not found.

Type Parameters

T
The type of the T.

Return Value

Type: T
See Also