View Issue Details

IDProjectCategoryView StatusLast Update
0002781NoesisGUIStudiopublic2024-02-12 11:30
Reportermaherne Assigned Tosfernandez  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Target VersionStudio_A1 
Summary0002781: TextBlock Text property does not return the correct value when there are Run Text property bindings
DescriptionWhen a TextBlock contains a Run that has a binding in it's Text property, the parent TextBlock Text DP will not return the binding output value in it's text until the Inlines collection has been modified.
Steps To Reproduce<TextBlock TextWrapping="Wrap" Width="365" Height="206" Margin="622,200,489,0" FontSize="18">
  <Run Text="Before"/><Run Text="{Binding Path=SomeProperty}"/><Run Text="After"/>
</TextBlock>

In the example above, if the value of SomeProperty is "Binding", then calling GetText on the TextBlock will return "BeforeAfter", instead of the correct value "BeforeBindingAfter".

Updating the Inlines collection, e.g. by adding or removing an Inline, will cause GetText to return the correct value "BeforeBindingAfter".
TagsNo tags attached.
PlatformAny

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2023-10-28 02:41 maherne New Issue
2023-10-30 13:11 jsantos Target Version => Studio_A1
2023-11-21 17:48 sfernandez Product Version Studio_A1 =>
2024-02-12 11:30 sfernandez Assigned To => sfernandez
2024-02-12 11:30 sfernandez Status new => assigned