<DataGrid AutoGenerateColumns="False" Height="330" HorizontalAlignment="Left" Margin="5,50,0,0" Name="grdDeviceInfo" VerticalAlignment="Top" CanUserAddRows="False" IsReadOnly="True" Width="270" HorizontalScrollBarVisibility="Auto"> <DataGrid.Columns> <DataGridTextColumn Header="Channels" Width="100" Binding="{Binding ChannelNo}"></DataGridTextColumn> <DataGridTextColumn Header="Label" Width="100" Binding="{Binding Label}"></DataGridTextColumn> <DataGridTemplateColumn Header="Status" Width="60"> <DataGridTemplateColumn.CellTemplate> <DataTemplate> <RadioButton HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="False" IsChecked="{Binding MasterStatus}" removed="#FFEB0F0F" Foreground="#FFC72B2B"></RadioButton> </DataTemplate> </DataGridTemplateColumn.CellTemplate> </DataGridTemplateColumn> </DataGrid.Columns> </DataGrid>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)