8,756
社区成员




<CheckBox Content="上传失败" IsChecked="{Binding SearchInterfaceLogIsNotSuccess, UpdateSourceTrigger=PropertyChanged}" Style="{StaticResource AlignmentCheckBoxStyle}" Canvas.Left="664" Canvas.Top="25" Width="92" Height="18"/>
int searchInterfaceLogIsNotSuccess = 0;
public int SearchInterfaceLogIsNotSuccess
{
get
{ return searchInterfaceLogIsNotSuccess; }
set
{
if (searchInterfaceLogIsNotSuccess != value)
{
searchInterfaceLogIsNotSuccess = value;
OnPropertyChanged(nameof(SearchInterfaceLogIsNotSuccess));
}
}
}
public class MainViewModel : INotifyPropertyChanged
public event PropertyChangedEventHandler PropertyChanged;
public void OnPropertyChanged(string propertyName)
{
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}