Quick Silverlight tip: How to make ToolTip works in beta 1
If you paid attention, there is neither ToolTip nor ToolTipService control in MSDN library, however, you can see it via intellisense in Visual Studio. If you’ll try to use it, you’ll get AG_E_PARSER_PROPERTY_NOT_FOUND XamlParser exception. The reason is, that ToolTip as well as ToolTip service come from extended controls set. Thus in order to use it, you’ll have to make explicit reference to the dll. So, following will work
<UserControl x:Class="FloraRIA.Page"
xmlns="http://schemas.microsoft.com/client/2007"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:extended="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"…..
<extended:ToolTipService.ToolTip>
<ToolTip Content="Hello world!"/>
</extended:ToolTipService.ToolTip>
Happy coding
You may also be interested with:
March 8th, 2008 · Comments (2)
2 Responses to “Quick Silverlight tip: How to make ToolTip works in beta 1”
Leave a Reply
Discover other tags
My tools
- .NET Framework Detector
- Duplicate images finder
- Exchange Security Policy for Windows Mobile Devices Fix
- Gas Price Windows Vista SideBar gadget
- Israel Traffic Information Windows Vista SideBar gadget
- Localization fix for SAP ES Explorer for Visual Studio
- LocTester
- RTL and LTR in Windows Live Writer
- Silverlight controls library
- Snipping tool integration plugin for WLW
- USB FM receiver library
- Vista Battery Saver
- WebCam control for WPF
- Windows Live SkyDrive attachment for Windows Live Writer
- Wireless Migrator
- WPF Virtual Keyboard




January 1st, 2009 at 12:40 am
Yeah, except the fact, that in SL 2.0 controls you should not provide additional namespace, due to fact, that it is *the* namespace
January 1st, 2009 at 12:41 am
Hi Tamir,
You should have a look at the Silverlight Control Example. All the syntax for making the 5 SL 2.0 Control families is listed there.