QA-Joseph
15 years agoOccasional Contributor
Silverlight Properties: Binding
Greetings,
I am attempting to extract a binded value, $1,390.82, from a Silverlight property, and have attached the TC 7.51 Object Properties results and a screen print of the target object. Upon review of the Object Properties screen print you will note that the text "$1,390" is not displayed.
The Silverlight code below displays the "$1,390.92" text on the web page via a binding, "abc.abcPrice".
<StackPanel Orientation="Horizontal" >
<TextBlock x:Name ="txtClaimTotal" Margin="5,0" Text="{Binding abc.abcPrice, Converter={StaticResource NullMessageConverter}}" />
</StackPanel>
The "Name" property is available, but do you have an idea as to how I can extract the binded value from "Text"?
Thanks in advance for your assistance.
Best regards,
Joseph
I am attempting to extract a binded value, $1,390.82, from a Silverlight property, and have attached the TC 7.51 Object Properties results and a screen print of the target object. Upon review of the Object Properties screen print you will note that the text "$1,390" is not displayed.
The Silverlight code below displays the "$1,390.92" text on the web page via a binding, "abc.abcPrice".
<StackPanel Orientation="Horizontal" >
<TextBlock x:Name ="txtClaimTotal" Margin="5,0" Text="{Binding abc.abcPrice, Converter={StaticResource NullMessageConverter}}" />
</StackPanel>
The "Name" property is available, but do you have an idea as to how I can extract the binded value from "Text"?
Thanks in advance for your assistance.
Best regards,
Joseph