You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
1.3 KiB
24 lines
1.3 KiB
<Window x:Class="dvmconsole.CallHistoryWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:local="clr-namespace:dvmconsole"
|
|
mc:Ignorable="d" Icon="/dvmconsole;component/Assets/history.png"
|
|
Title="Call History" Height="450" Width="351" WindowStartupLocation="CenterOwner">
|
|
<Grid>
|
|
<DataGrid ItemsSource="{Binding CallHistory}" AutoGenerateColumns="False" IsReadOnly="True" Margin="10">
|
|
<DataGrid.RowStyle>
|
|
<Style TargetType="DataGridRow">
|
|
<Setter Property="Background" Value="{Binding BackgroundColor}" />
|
|
</Style>
|
|
</DataGrid.RowStyle>
|
|
<DataGrid.Columns>
|
|
<DataGridTextColumn Header="Channel" Binding="{Binding Channel}" Width="*" />
|
|
<DataGridTextColumn Header="Radio ID" Binding="{Binding SrcId}" Width="*" />
|
|
<DataGridTextColumn Header="Talkgroup" Binding="{Binding DstId}" Width="*" />
|
|
</DataGrid.Columns>
|
|
</DataGrid>
|
|
</Grid>
|
|
</Window>
|