View Issue Details

IDProjectCategoryView StatusLast Update
0001611NoesisGUIUnity3Dpublic2019-12-28 15:06
ReporterGwynnethAssigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Product Version2.2.5 
Target VersionFixed in Version 
Summary0001611: TemplateBinding Converter does not work
DescriptionTemplateBinding.Converter seems to not be implemented.
Steps To ReproduceUsing the XAML below in a custom control will make Noesis log the following error message: Unknown property TemplateBinding.Converter, or object to assign is incompatible


                        <Grid Margin="{TemplateBinding StrokeThickness, Converter={StaticResource DoubleToThicknessConverter}}">
                            <ContentPresenter x:Name="PART_ContentPresenter" Content="{TemplateBinding Content}" Margin="{TemplateBinding Padding}"/>
                        </Grid>

Changing the XAML to a 'normal' binding with RelativeSource set to TemplatedParent as shown below does work.

                        <Grid Margin="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=StrokeThickness, Converter={StaticResource DoubleToThicknessConverter}}">
                            <ContentPresenter x:Name="PART_ContentPresenter" Content="{TemplateBinding Content}" Margin="{TemplateBinding Padding}"/>
                        </Grid>
TagsNo tags attached.
PlatformWindows

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-12-28 15:06 Gwynneth New Issue