View Issue Details

IDProjectCategoryView StatusLast Update
0003004NoesisGUIStudiopublic2024-01-12 11:53
Reporterfllorens Assigned Todfranjic  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Target VersionStudio_Alpha 
Summary0003004: Duplicating elements inside a template will not copy TemplatedParent bindings
Description

As seen here: https://youtu.be/7aHHWI3tYD4?feature=shared&t=1821 a brush TemplatedParent binding is not duplicated correctly.
'Foreground="{Binding Path=Foreground, RelativeSource={RelativeSource TemplatedParent}}" ' is copied as 'Foreground="{Binding Path=Foreground}"' in the duplicated element.

Steps To Reproduce
  1. Create a control template and edit it
  2. Create an element inside with a TemplatedParent binding
  3. Duplicate it
PlatformAny

Activities

dfranjic

dfranjic

2024-01-11 19:24

developer   ~0009079

Serialization of RelativeSource wasn't implemented. It should be fixed with r13178.

Though, an issue I noticed is that the binding isn't applied when alt+dragging it, but only when I release the mouse button.
But, at least it's properly written down in XAML and displayed after the mouse release.

Issue History

Date Modified Username Field Change
2024-01-11 17:19 fllorens New Issue
2024-01-11 19:24 dfranjic Assigned To => dfranjic
2024-01-11 19:24 dfranjic Status new => resolved
2024-01-11 19:24 dfranjic Resolution open => fixed
2024-01-11 19:24 dfranjic Note Added: 0009079
2024-01-12 11:53 jsantos Target Version => Studio_Alpha