View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002781 | NoesisGUI | Studio | public | 2023-10-28 02:41 | 2023-11-21 17:48 |
Reporter | maherne | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Target Version | Studio_A1 | ||||
Summary | 0002781: TextBlock Text property does not return the correct value when there are Run Text property bindings | ||||
Description | When 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". | ||||
Tags | No tags attached. | ||||
Platform | Any | ||||
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 => |