newbie in need of event help

Ribbon for WPF Forum

Posted 13 years ago by Raphael Sainte-Claire
Version: 11.1.0540
Hi all,

I am currently appraising WPF Studio for work, so far I am pretty impressed with what I have been able to put together.

I need some help though, I am trying to use the Ribbon.SelectedTabChanged and Click events on the ribbon itself. Whenever I try to create an event I get the message:

to generate an event handler the class 'Events', specified by the x:Class or x:Subclass attribute, must be the first class in the file. Move the class code so that it is the first class in the file and try again

I know this looks like a fairly trivial issue, but if someone could comment on this, it would be greatly received.


Comments (2)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Raphael,

It looks like that is more of a general Visual Studio question. My guess would be that you put another class in your code file that is the code-behind for your XAML-bbased class and Visual Studio doesn't like that?

Actipro Software Support

Posted 13 years ago by Raphael Sainte-Claire
OK, I will check that and get back to you.

The latest build of this product (v23.1.3) was released 23 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.