CompareTemplates(TemplatedControl, TemplatedControl, TemplateComparisonOptions?) Method

Definition

Assembly HeadlessTestingFramework.dll

Compares the templates of two controls.

public static TemplateComparisonResult CompareTemplates(TemplatedControl expected, TemplatedControl actual, TemplateComparisonOptions? options = null)

Parameters

expected
Avalonia.Controls.Primitives.TemplatedControl

The control with the expected template.

actual
Avalonia.Controls.Primitives.TemplatedControl

The control with the actual template.

options
TemplateComparisonOptions

Comparison options.

Returns

TemplateComparisonResult
The comparison result.