View Issue Details

IDProjectCategoryView StatusLast Update
0003026NoesisGUIStudiopublic2024-02-17 02:07
Reportermaherne Assigned Todfranjic  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Product VersionStudio_Alpha 
Target VersionStudio_Alpha 
Summary0003026: TectBlock Inlines Run TextProperty Binding being serialized as a string
Description

When serializing an Inline Run node which has a TextProperty Binding, using TextEditor::Serialize, the TextProperty is serialized as a string (or no Text attribute if the binding returns no value) instead of an expression.

Steps To Reproduce

Using the following xaml, edit the TextBlock with the TextBlockAdorner and add some text at the end of "AfterBinding". The result is that the Text attribute will be serialized as the binding value in string form.

TextEditor::Serialize is called for each Inline in \Packages\Gui\Editor\Src\UpdateTextBlockCommand.cpp, line 202.

<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<TextBlock>
<Run Text="{Binding Path=SomeProperty}"/><Run Text="AfterBinding" FontWeight="Bold"/>
</TextBlock>
</Page>

PlatformAny

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-01-22 15:10 maherne New Issue
2024-01-22 22:28 jsantos Target Version => Studio_Alpha
2024-01-22 22:28 jsantos Assigned To => dfranjic
2024-01-22 22:28 jsantos Status new => assigned
2024-02-17 02:07 dfranjic Status assigned => resolved
2024-02-17 02:07 dfranjic Resolution open => fixed