View Issue Details

IDProjectCategoryView StatusLast Update
0001611NoesisGUIUnitypublic2020-08-24 11:18
ReporterGwynneth Assigned Tosfernandez  
PrioritynormalSeverityminor 
Status assignedResolutionopen 
Product Version2.2.5 
Target Version3.1 
Summary0001611: TemplateBinding Converter does not work
Description

TemplateBinding.Converter seems to not be implemented.

Steps To Reproduce

Using 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>
PlatformWindows

Activities

ttermeer

ttermeer

2020-08-20 16:45

reporter   ~0006588

I can confirm issue still present with Noesis 3.0.4 with the Unity SDK

Issue History

Date Modified Username Field Change
2019-12-28 15:06 Gwynneth New Issue
2020-08-20 16:45 ttermeer Note Added: 0006588
2020-08-24 11:17 sfernandez Assigned To => sfernandez
2020-08-24 11:17 sfernandez Status new => assigned
2020-08-24 11:17 sfernandez Target Version => 3.1
2025-10-10 13:29 jsantos Category Unity3D => Unity