
I am trying to style a PopupButton to match our other controls and am 90% there.  My only remaining issue, is that once the button is clicked (IsPopupOpen=true) a black border appears around the control and the icon seems to shift down to look pressed.  I cant figure out how to resolve this.
Here is my code:Thanks!
Jon
[Modified at 01/12/2009 10:18 AM]
[Modified at 01/12/2009 10:19 AM]
[Modified at 01/12/2009 10:20 AM]
Here is my code:
<Actipro:PopupButton x:Name="mFavoritesViewCtrl" 
    Style="{DynamicResource ActiproPopupButton}"
    IsTransparencyModeEnabled="True"
    DisplayMode="PopupOnly" ToolTip="View Favorites"
    PopupOpening="popupButtonMenuRuntime_PopupOpening">
    <Actipro:PopupButton.PopupIndicator>
        <Image Source="/Project;component/Images/favb.png" Height="20" />
    </Actipro:PopupButton.PopupIndicator>
</Actipro:PopupButton>
<Style x:Key="ActiproPopupButton" TargetType="{x:Type Actipro:PopupButton}">
    <Style.Triggers>
        <Trigger Property="IsMouseOver" Value="true">
            <Setter Property="BorderBrush" Value="{DynamicResource MouseOverBrush}" />
            <Setter Property="Background" Value="{DynamicResource MouseOverBrush}" />
        </Trigger>
        <Trigger Property="IsPopupOpen" Value="true">
            <Setter Property="BorderBrush" Value="{DynamicResource PressedBrush}" />
            <Setter Property="Background" Value="{DynamicResource PressedBrush}" />
        </Trigger>
    </Style.Triggers>
</Style>
Jon
[Modified at 01/12/2009 10:18 AM]
[Modified at 01/12/2009 10:19 AM]
[Modified at 01/12/2009 10:20 AM]
