For example, I get this compiler warning,
The event \'Company.SomeControl.SearchClick\' is never used.
But I know that it\'s use
The compiler is apparently not aware that it's being used in XAML code. Try suppressing the warning in your event definition.
Also, make sure you're actually raising the event somewhere.