This is my code
--------------------
x:Name="EstimatedValue"
Text="{Binding EstimatedPrice , Mode=TwoWay, StringFormat='{0:N2}', UpdateSourceEventName=PropertyChanged }"
Style="{StaticResource EntryTextBoxStyle}" IsReadOnly="True" />
----------------------------------public string EstimatedPrice
{
private set
{
if (_estimatedValue != value)
{
_estimatedValue = value;
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("EstimatedPrice"));
}
}
get
{
return _estimatedValue;
}
}
--------------------------------------this.EstimatedPrice = result.ToString();
------------------
After assignment value is not showing on control. Please help to check this issue
1 Reply
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rikam PalkarPosted May 2, 2020, 1:15 PM