Syed Qasim

Syed Qasim

  • 1.6k
  • 25
  • 862

Value is not binding with entry control

Apr 21 2020 1:50 AM
This is my code
--------------------
<controls:BorderlessEntry
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 

Answers (1)