</DataGridTextColumn>
<DataGridTextColumn Header="Должность" Binding="{Binding Position}" Width="*">
<DataGridColumn.HeaderStyle>
<Style TargetType="DataGridColumnHeader">
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="FontSize" Value="12"/>
<Setter Property="Background" Value="Orange" />
<Setter Property="TextBlock.Foreground" Value="#000" />
</Style>
</DataGridColumn.HeaderStyle>
<DataGridTextColumn.ElementStyle>
<Style>
<Setter Property="TextBlock.TextWrapping" Value="Wrap" />
<Setter Property="TextBlock.TextAlignment" Value="Center"/>
<Setter Property="TextBlock.Background" Value="#FABF4D" />
</Style>
</DataGridTextColumn.ElementStyle>
</DataGridTextColumn>
<DataGridTextColumn Header="Телефон" Binding="{Binding PhoneNumber}" Width="*" >
<DataGridColumn.HeaderStyle>
<Style TargetType="DataGridColumnHeader">
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="FontSize" Value="12"/>
<Setter Property="Background" Value="#000" />
<Setter Property="Foreground" Value="#FFF" />
</Style>
</DataGridColumn.HeaderStyle>
<DataGridTextColumn.ElementStyle>
<Style>
<Setter Property="TextBlock.TextWrapping" Value="Wrap" />
<Setter Property="TextBlock.TextAlignment" Value="Center"/>
<Setter Property="TextBlock.Background" Value="#3E3E42" />
<Setter Property="TextBlock.Foreground" Value="#FFF" />
</Style>
</DataGridTextColumn.ElementStyle>
</DataGridTextColumn>
<DataGridHyperlinkColumn Header="Почта" Binding="{Binding Email}" Width="250" Visibility="Visible">
<DataGridColumn.HeaderStyle>
<Style TargetType="DataGridColumnHeader">
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="FontSize" Value="12"/>
<Setter Property="Background" Value="Orange" />
<Setter Property="TextBlock.Foreground" Value="#000" />
</Style>
</DataGridColumn.HeaderStyle>
<DataGridHyperlinkColumn.ElementStyle>
<Style>
<Setter Property="TextBlock.TextWrapping" Value="Wrap" />
<Setter Property="TextBlock.TextAlignment" Value="Center"/>
<Setter Property="TextBlock.Background" Value="#FABF4D" />
<Setter Property="TextBlock.FontSize" Value="12"/>
</Style>
</DataGridHyperlinkColumn.ElementStyle>
</DataGridHyperlinkColumn>
</DataGrid.Columns>
</DataGrid>
<StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center">
<Button Content="Добавить" Margin="10" Click="Add_Click" />
<Button Content="Изменить" Margin="10" Click="Edit_Click" />
<Button Content="Удалить" Margin="10" Click="Delete_Click" />
</StackPanel>
</Grid>
</Window>
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme"
tools:ignore="LockedOrientationActivity">
<activity android:name=".MainActivity"
android:screenOrientation="portrait"
tools:ignore="LockedOrientationActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".GameLevels"
android:screenOrientation="portrait">
<intent-filter>
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
public class GameLevels extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.gamelevels);
Window w = getWindow();
w.setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN);
}
}