UCBase.ExtractTemplatePart<T> Method (String, Boolean)

Extracts the template part of type T

Namespace:  Microsoft.Lync.Controls
Assembly:  Microsoft.Lync.Controls (in Microsoft.Lync.Controls.dll)

Syntax

protected T ExtractTemplatePart<T>(
    string partName,
    bool isPartRequired
)
where T : DependencyObject

Parameters

  • isPartRequired
    Type: System.Boolean
    True if this part is required, false if it is optional.

Type Parameters

  • T
    The type of the template part to be extracted.

Return Value

The requested template part.

See Also

UCBase Class

ExtractTemplatePart Overload

Microsoft.Lync.Controls Namespace