almost 2 years ago
Here my xaml file :
<TextBox Height="30" Width="100" Text="{Binding Path=txtName, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Margin="346,239,346,150"/>
<Button Name="Submit" Height="30" Width="100" Content="Submit Me" Command="{Binding submit}" CommandParameter="{Binding Text, ElementName=fName}" Margin="346,185,346,204"/>
<TextBox Height="30" Width="100" Text="{Binding Path=copyName, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Margin="346,135,346,254" />
This is my ViewModel.cs
public event PropertyChangedEventHandler PropertyChanged;
private string _txtName;
public string txtName { get { return _txtName; } set { _txtName = value; OnPropertyChanged("txtName"); } } private int _copyName;
public int copyName { get { return _copyName; } set { _copyName = value; OnPropertyChanged("copyName"); } }
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Sign up using
0 Answer(s)