Compares the templates of two controls.
public static TemplateComparisonResult CompareTemplates(TemplatedControl expected, TemplatedControl actual, TemplateComparisonOptions? options = null)
The control with the expected template.
The control with the actual template.
Comparison options.