<DataGrid>
<DataGrid.RowStyle>
<Style TargetType="DataGridRow">
<Style.Triggers>
<DataTrigger Binding="{Binding IsError, Mode=OneWay}" Value="True">
<Setter Property="Foreground" Value="IndianRed"/>
</DataTrigger>
</Style.Triggers>
</Style>
</DataGrid.RowStyle>
</DataGrid>
values = [('Никита', 'MrCrazyHous', 'EcoTry#6220', '13', '23-05-2021 23:41', 1)]
print(' '.join(str(v) for v in values[0]))
setInterval(function() {
var image = new Image();
image.src = 'http://camera1.lc/onvif/snapshot?img'+Math.random(0,100);
image.onload = function() {
var img_tag = '<img src="'+this.src+'" width="673" height="505" />';
document.getElementById('img_reload').innerHTML = img_tag;
}
}, 2000);