Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You can use to accomplish your task the following project: <a href="http://wpfwindow.codeplex.com/" rel="nofollow">wpfwindow.codeplex.com</a>.</p> <p>In this project is file "ButtonIcons.xaml", when you can change properties of those buttons.</p> <pre><code>&lt;ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"&gt; &lt;!-- MINIMIZE --&gt; &lt;Border x:Key="WindowButtonMinimizeIcon" Width="12" Height="5" Margin="0,5,0,0" BorderBrush="#535666" BorderThickness="1" Background="#FFFFFF" /&gt; &lt;!-- MINIMIZE (disabled) --&gt; &lt;Border x:Key="WindowButtonMinimizeIconDisabled" Width="12" Height="5" Margin="0,5,0,0" BorderBrush="#9FA5B2" BorderThickness="1" Background="#FFFFFF" /&gt; &lt;!-- RESTORE --&gt; &lt;Canvas x:Key="WindowButtonRestoreIcon"&gt; &lt;Rectangle Stroke="#535666" Fill="White" Width="10" Height="10" Canvas.Top="1" Canvas.Left="7" /&gt; &lt;Rectangle Stroke="#535666" Fill="White" Width="4" Height="4" Canvas.Top="4" Canvas.Left="10" /&gt; &lt;Rectangle Stroke="#535666" Fill="White" Width="10" Height="10" Canvas.Top="3" Canvas.Left="5" /&gt; &lt;Rectangle Stroke="#535666" Fill="White" Width="4" Height="4" Canvas.Top="6" Canvas.Left="8" /&gt; &lt;/Canvas&gt; &lt;!-- RESTORE (disabled) --&gt; &lt;Canvas x:Key="WindowButtonRestoreIconDisabled"&gt; &lt;Rectangle Stroke="#9FA5B2" Fill="White" Width="10" Height="10" Canvas.Top="1" Canvas.Left="7" /&gt; &lt;Rectangle Stroke="#9FA5B2" Fill="White" Width="4" Height="4" Canvas.Top="4" Canvas.Left="10" /&gt; &lt;Rectangle Stroke="#9FA5B2" Fill="White" Width="10" Height="10" Canvas.Top="3" Canvas.Left="5" /&gt; &lt;Rectangle Stroke="#9FA5B2" Fill="White" Width="4" Height="4" Canvas.Top="6" Canvas.Left="8" /&gt; &lt;/Canvas&gt; &lt;!-- MAXIMIZE --&gt; &lt;Border x:Key="WindowButtonMaximizeIcon" BorderBrush="#535666" BorderThickness="1" Width="12" Height="10"&gt; &lt;Border BorderBrush="#FCFCFC" BorderThickness="2"&gt; &lt;Border BorderBrush="#535666" BorderThickness="1" /&gt; &lt;/Border&gt; &lt;/Border&gt; &lt;!-- MAXIMIZE (disabled) --&gt; &lt;Border x:Key="WindowButtonMaximizeIconDisabled" BorderBrush="#9FA5B2" BorderThickness="1" Width="12" Height="10"&gt; &lt;Border BorderBrush="#FCFCFC" BorderThickness="2"&gt; &lt;Border BorderBrush="#9FA5B2" BorderThickness="1" /&gt; &lt;/Border&gt; &lt;/Border&gt; &lt;!-- CLOSE --&gt; &lt;Image Source="/CustomWindow;component/Images/buttonX.png" Width="13" Height="10" x:Key="WindowButtonCloseIcon" /&gt; &lt;!-- Background colors for red button (e.g close button) --&gt; &lt;LinearGradientBrush x:Key="RedButtonBackground" StartPoint="0,0" EndPoint="0,1"&gt; &lt;GradientStop Offset="0" Color="#F89C8C" /&gt; &lt;GradientStop Offset="0.45" Color="#D47F75" /&gt; &lt;GradientStop Offset="0.45" Color="#C04C3C" /&gt; &lt;GradientStop Offset="1" Color="#C98172" /&gt; &lt;/LinearGradientBrush&gt; &lt;LinearGradientBrush x:Key="RedButtonMouseOverBackground" StartPoint="0,0" EndPoint="0,1"&gt; &lt;GradientStop Offset="0" Color="#F89C8C" /&gt; &lt;GradientStop Offset="0.45" Color="#E36A53" /&gt; &lt;GradientStop Offset="0.45" Color="#C72B0E" /&gt; &lt;GradientStop Offset="0.75" Color="#D44310" /&gt; &lt;GradientStop Offset="1" Color="#F5E478" /&gt; &lt;/LinearGradientBrush&gt; &lt;/ResourceDictionary&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload