newbie in need of event help

Ribbon for WPF Forum

Posted 14 years ago by Raphael Sainte-Claire
Version: 11.1.0540
Avatar
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:

Quote:
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.

TIA
-
Raphael

Comments (2)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
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 14 years ago by Raphael Sainte-Claire
Avatar
OK, I will check that and get back to you.

Cheers
-
R
The latest build of this product (v24.1.3) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.