Open wldevries opened 7 months ago
When using x:Bind in a ControlTemplate Without DataType specified in the Binding the error is as follows:
x:Bind
ControlTemplate
DataType
Binding
DataType is unknown. It must be specified when using x:Bind in a DataTemplate.
The ControlTemplate has TargetType set. It does not have a DataType property and does not accept mx:DataType from this repo.
TargetType
mx:DataType
Yes. x:Bind cannot work in ControlTemplates. I will implement checking it, to bring better error message.
When using
x:Bind
in aControlTemplate
WithoutDataType
specified in theBinding
the error is as follows:The
ControlTemplate
hasTargetType
set. It does not have aDataType
property and does not acceptmx:DataType
from this repo.