Click here to Skip to main content
16,017,245 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: The killer question Pin
User 27100913-Mar-08 15:24
User 27100913-Mar-08 15:24 
GeneralRe: The killer question Pin
Ed.Poore13-Mar-08 15:49
Ed.Poore13-Mar-08 15:49 
GeneralRe: The killer question Pin
Pete O'Hanlon14-Mar-08 2:21
mvePete O'Hanlon14-Mar-08 2:21 
GeneralRe: The killer question Pin
Ed.Poore14-Mar-08 3:28
Ed.Poore14-Mar-08 3:28 
GeneralError Help Pin
Jammer13-Mar-08 2:37
Jammer13-Mar-08 2:37 
GeneralRe: Error Help Pin
User 27100913-Mar-08 3:36
User 27100913-Mar-08 3:36 
GeneralRe: Error Help Pin
Jammer13-Mar-08 3:47
Jammer13-Mar-08 3:47 
GeneralRe: Error Help Pin
User 27100913-Mar-08 5:33
User 27100913-Mar-08 5:33 
Jammer,

Take a close look at the colors. I added the alpha channel to each of your hex colors.

The Background of the Border was Transparent, I made it Black and the ToolTip now shows up.

Not sure why Blend blows up. I'm using Blend 2.5, got the same thing. I would send your example to the Blend team.

The below template works fine and shows the tooltip at run-time.


<UserControl.Resources>
    <!-- ToolTip Style -->
    <Style TargetType="{x:Type ToolTip}">
          <Setter Property="Background" Value="#FF000000" />
          <Setter Property="FontFamily" Value="Segoe UI" />
          <Setter Property="FontSize" Value="12" />
          <Setter Property="FontWeight" Value="Normal" />
          <Setter Property="Foreground" Value="#FFFFFFFF" />
          <Setter Property="Template">
                <Setter.Value>
                      <ControlTemplate TargetType="{x:Type ToolTip}">
                            <Border CornerRadius="4" Background="#FF000000" >
                                  <ContentPresenter />
                            </Border>
                      </ControlTemplate>
                </Setter.Value>
          </Setter>
    </Style>
</UserControl.Resources>


Cheers, Karl

» CodeProject 2008 MVP

My Blog | Mole's Home Page | How To Create Screen Capture Videos For Your Articles

Just a grain of sand on the worlds beaches.



modified 27-Feb-21 21:01pm.

GeneralRe: Error Help Pin
Jammer13-Mar-08 7:08
Jammer13-Mar-08 7:08 
GeneralRe: Error Help Pin
Jammer13-Mar-08 7:11
Jammer13-Mar-08 7:11 
GeneralRe: Error Help Pin
Jammer13-Mar-08 7:48
Jammer13-Mar-08 7:48 
GeneralRe: Error Help Pin
User 27100913-Mar-08 8:54
User 27100913-Mar-08 8:54 
GeneralRe: Error Help Pin
Jammer13-Mar-08 11:36
Jammer13-Mar-08 11:36 
GeneralRe: Error Help Pin
Jammer14-Mar-08 0:02
Jammer14-Mar-08 0:02 
GeneralWindows XP WPF Anti Aliasing Pin
Jammer12-Mar-08 1:57
Jammer12-Mar-08 1:57 
GeneralRe: Windows XP WPF Anti Aliasing Pin
User 27100912-Mar-08 3:28
User 27100912-Mar-08 3:28 
GeneralRe: Windows XP WPF Anti Aliasing Pin
Jammer12-Mar-08 3:38
Jammer12-Mar-08 3:38 
GeneralRe: Windows XP WPF Anti Aliasing Pin
User 27100912-Mar-08 3:44
User 27100912-Mar-08 3:44 
GeneralRe: Windows XP WPF Anti Aliasing Pin
Jammer12-Mar-08 3:58
Jammer12-Mar-08 3:58 
GeneralRe: Windows XP WPF Anti Aliasing Pin
User 27100912-Mar-08 4:01
User 27100912-Mar-08 4:01 
GeneralRe: Windows XP WPF Anti Aliasing Pin
Jammer12-Mar-08 4:24
Jammer12-Mar-08 4:24 
GeneralRe: Windows XP WPF Anti Aliasing Pin
User 27100912-Mar-08 4:33
User 27100912-Mar-08 4:33 
GeneralRe: Windows XP WPF Anti Aliasing Pin
Jammer12-Mar-08 4:48
Jammer12-Mar-08 4:48 
GeneralRe: Windows XP WPF Anti Aliasing Pin
Jammer12-Mar-08 11:51
Jammer12-Mar-08 11:51 
QuestionHierarchical grid in WPF/XAML [modified] Pin
archie@hyd11-Mar-08 21:02
archie@hyd11-Mar-08 21:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.