Bind WPF Window Background to Windows Style


/ Published in: XML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <Window x:Class="HydroSoft.Display.Settings.SerialProvidersWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. WindowStartupLocation="CenterScreen" WindowStyle="ToolWindow"
  5. Background="{x:Static SystemColors.ControlBrush}">
  6. </Window>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.