. Topicala Page Index Token

A Journal about the experiences I have developing little applications in C#, Perl, Html and Javascript and talking about things new things that I use. Always Geeky; Always Nerdy; Always poor Grammer!

I am a Software Analyst Developer working in Southport, England but living in Liverpool. I develop mainly in C# and ASP.Net. I have been developing comercial software for several years now. I maintain this site (hosted at SwitchMedia UK) as a way of exploring new technologies (such as AJAX) and just generally talking about techie geek issues. This site is developed through a host of Perl scripts and a liberal use of Javascript. I enjoy experimenting with new technologies and anything that I make I host here.

Quick Search

Web www.kinlan.co.uk

Monday, June 06, 2005

XAML Menu Throbbing! (Answers to Questions)

I recieved some answers to my questions :) They were quite helpful, so I will document them here just incase they ever help anyone :).

1) In the control template you can use RoutedEvents to start and stop a time line. (I don't know how I missed this). You can also use them inside DataTemplates as well.
<EventTrigger RoutedEvent="Mouse.MouseEnter">
<BeginAction TargetName="Timeline">
<StopAction TargetName="Timeline2">

These triggers are able to be placed inside a style. (link at the bottom to my example)

2) Again my mistake, I remember a error I got against the xsd saying TargetName needs to be present, but I must have been mistaken or it could have been another Element that requires it. Anyway, the following is complety valid and can be used to apply against any control.

One thing I have learnt by pure experiment is that you can have storyboards inside a ControlTemplate/DataTemplate. This means that any control that meets the TargetType criteria in the style header can access the storyboard associated with it. For my example I have attached a storyboard that will be available to all MenuItems.

3) No answer yet butI presume it will be a while before all the documentation catches up to the implementation.

Anyway here is my wobbly menu example:

Technorati Tags
[feed], [feed], [feed], [feed], [feed], [feed], [feed], [feed]

Related Wikipedia Documents
, , , , , , , ,

My Related Documents
, , , , ,

Related Amazon Books
Windows API Bible: /, Windows Forms Programming in C#: /, Programming Windows Presentation Foundation: /, Essential .Net Volume 1: /, Mastering Visual Studio.NET: /

Related Images

Comments: [Add New]