hi
I'm working on a Application, in that i have used toolkit:PhoneTextBox insted of TextBox control.
<toolkit:PhoneTextBox x:Name="SecondaryContactNum" Text="{Binding contact2_number, Mode=TwoWay}" Style="{StaticResource NormalTextBoxStyle}"TextChanged="SecondaryContactNum_TextChanged_1" MaxLength="10" Hint="Mobile Number" DisplayedMaxLength="10" HidesActionItemWhenEmpty="True" ActionIconTapped="ActionIcon_Tap" ActionIcon="/Assets/close_icon2.png"
GotFocus="SecondaryContact_GotFocus" LostFocus="SecondaryContact_LostFocus" InputScope="Number"/>
I'm Binding data in my page, Text="{Binding contact2_number, Mode=TwoWay}" to this toolkit:PhoneTextBox from my StateUtilites class.
when ever i'm navigating to anothor page from this page and made changes to my StateUtilites class, and again coming back to this page, data is Binding and "Hint" also displaying and my "SecondaryContactNum" PhoneTextBox also having same foreground colour as Hint.
Please help me.
Thanks and regards.
Ranjit
- Edited by ranjit gs Thursday, November 21, 2013 6:03 AM