Note that there are some explanatory texts on larger screens.

plurals
  1. POWPF displaying differently on different computers
    primarykey
    data
    text
    <p>I am running Windows XP on my computer, and another computer also is running Windows XP.</p> <p>In my WPF application, I've changed the styles of my buttons to appear as if they are not highlighting when rolled over, clicked, etc.</p> <p>On my computer, this is the behavior that is occurring. On the other Windows XP system, I am seeing some outlining of the buttons with I roll over them or click.</p> <p>Any ideas on why this is happening?</p> <p><strong>EDIT</strong></p> <p>Here is the Button itself</p> <pre><code> &lt;Button Click="Next_Click" Width="100" VerticalAlignment="Center" BorderThickness="0" BorderBrush="Black" Background="Black" IsTabStop="False" DockPanel.Dock="Right" HorizontalAlignment="Left" Height="154" Name="NextOffers"&gt; &lt;Image Source="Images/offer_right_arrow.jpg" Width="100" Height="154" MaxWidth="100" MaxHeight="154" HorizontalAlignment="Left" VerticalAlignment="Top" MinWidth="100" MinHeight="154" &gt;&lt;/Image&gt; &lt;/Button&gt; </code></pre> <p>Also this Style, too.</p> <pre><code>&lt;Style TargetType="{x:Type ListBoxItem}" x:Key="ListBoxItemStyle"&gt; &lt;EventSetter Event="PreviewMouseLeftButtonDown" Handler="ListBox_MouseLeftButtonDown"&gt;&lt;/EventSetter&gt; &lt;Setter Property="FocusVisualStyle" Value="{x:Null}" /&gt; &lt;Setter Property="Template"&gt; &lt;Setter.Value&gt; &lt;ControlTemplate TargetType="ListBoxItem"&gt; &lt;Border Name="Border" Padding="0,0,2,0" SnapsToDevicePixels="true"&gt; &lt;ContentPresenter /&gt; &lt;/Border&gt; &lt;ControlTemplate.Triggers&gt; &lt;Trigger Property="IsSelected" Value="true"&gt; &lt;Setter TargetName="Border" Property="Background" Value="Black"&gt;&lt;/Setter&gt; &lt;/Trigger&gt; &lt;/ControlTemplate.Triggers&gt; &lt;/ControlTemplate&gt; &lt;/Setter.Value&gt; &lt;/Setter&gt; &lt;/Style&gt; </code></pre> <p>I don't have a template made for this button, obviously.</p> <p>I am loading my ResourceDictionaries dynamically in the code behind.</p>
    singulars
    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.
 

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