{"action":"created","issue":{"url":"https://api.github.com/repos/fluentribbon/Fluent.Ribbon/issues/225","labels_url":"https://api.github.com/repos/fluentribbon/Fluent.Ribbon/issues/225/labels{/name}","comments_url":"https://api.github.com/repos/fluentribbon/Fluent.Ribbon/issues/225/comments","events_url":"https://api.github.com/repos/fluentribbon/Fluent.Ribbon/issues/225/events","html_url":"https://github.com/fluentribbon/Fluent.Ribbon/issues/225","id":123209298,"number":225,"title":"Ribbon button click event not working","user":{"login":"ashisbiswas","id":16374475,"avatar_url":"https://avatars.githubusercontent.com/u/16374475?v=3","gravatar_id":"","url":"https://api.github.com/users/ashisbiswas","html_url":"https://github.com/ashisbiswas","followers_url":"https://api.github.com/users/ashisbiswas/followers","following_url":"https://api.github.com/users/ashisbiswas/following{/other_user}","gists_url":"https://api.github.com/users/ashisbiswas/gists{/gist_id}","starred_url":"https://api.github.com/users/ashisbiswas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashisbiswas/subscriptions","organizations_url":"https://api.github.com/users/ashisbiswas/orgs","repos_url":"https://api.github.com/users/ashisbiswas/repos","events_url":"https://api.github.com/users/ashisbiswas/events{/privacy}","received_events_url":"https://api.github.com/users/ashisbiswas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fluentribbon/Fluent.Ribbon/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-12-21T04:24:47Z","updated_at":"2015-12-21T17:57:20Z","closed_at":null,"body":"  I am new in wpf. I want to try your Fluent ribbon that's why downloaded it from Nuget and added it to my project. here is my code:\r\n\r\n\r\n    <Fluent:RibbonWindow x:Class=\"Fluent.Sample.Foundation.Window\"\r\n    xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"     \r\n    xmlns:x=\"http://schemas.microsoft.com/winfx/2006/xaml\"     \r\n    xmlns:Fluent=\"clr-namespace:Fluent;assembly=Fluent\" \r\n    Title=\"Fluent.Sample.Foundation\" Width=\"800\" Height=\"600\" WindowStartupLocation=\"CenterScreen\" >\r\n\r\n\r\n    <Fluent:Ribbon>\r\n        <!--Backstage-->\r\n        <Fluent:Ribbon.Menu>\r\n            <Fluent:Backstage></Fluent:Backstage>\r\n        </Fluent:Ribbon.Menu>\r\n        <!--Tabs-->\r\n        <Fluent:RibbonTabItem Header=\"Tab\">\r\n            <Fluent:RibbonGroupBox Header=\"Group\">\r\n                <Fluent:Button Name=\"buttonGreen\" Header=\"Green\" Icon=\"Images\\Green.png\" LargeIcon=\"Images\\GreenLarge.png\"/>\r\n                <Fluent:Button Name=\"buttonGray\" Header=\"Grey\" Icon=\"Images\\Gray.png\" LargeIcon=\"Images\\GrayLarge.png\" Click=\"btnClick\" />\r\n            </Fluent:RibbonGroupBox>\r\n        </Fluent:RibbonTabItem>\r\n    </Fluent:Ribbon>\r\n     </Fluent:RibbonWindow>  \r\n\r\n--------------------------------------------------------------------------------------------------------------\r\n    **MainWindow.xaml.vb**\r\n    Class MainWindow \r\n    Private Sub btnClick(sender As Object, e As RoutedEventArgs)\r\n        MsgBox(\"test\")\r\n    End Sub\r\n    End Class\r\n\r\nBut i get this error.\r\n\r\n    Type 'Fluent.RibbonWindow' is not defined.\r\n    Type 'Fluent.Button' is not defined.\r\n    'btnClick' is not a member of 'TestRibbon.Fluent.Sample.Foundation.Window'.\r\n\r\nwhen i change **Fluent.RibbonWindow** to **Global.Fluent.RibbonWindow **and same thing with **Fluent.Button** it works well and after some time it again show the same error and i can't understand why this error occurred **'btnClick' is not a member of 'TestRibbon.Fluent.Sample.Foundation.Window'.** I am using vs2013. Can you tell me if I have done anything wrong? Thanks\r\n\r\n\r\n![error](https://cloud.githubusercontent.com/assets/16374475/11923379/a4ac9c4c-a7c8-11e5-827f-a01f638336c0.png)\r\n"},"comment":{"url":"https://api.github.com/repos/fluentribbon/Fluent.Ribbon/issues/comments/166374975","html_url":"https://github.com/fluentribbon/Fluent.Ribbon/issues/225#issuecomment-166374975","issue_url":"https://api.github.com/repos/fluentribbon/Fluent.Ribbon/issues/225","id":166374975,"user":{"login":"batzen","id":1971030,"avatar_url":"https://avatars.githubusercontent.com/u/1971030?v=3","gravatar_id":"","url":"https://api.github.com/users/batzen","html_url":"https://github.com/batzen","followers_url":"https://api.github.com/users/batzen/followers","following_url":"https://api.github.com/users/batzen/following{/other_user}","gists_url":"https://api.github.com/users/batzen/gists{/gist_id}","starred_url":"https://api.github.com/users/batzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/batzen/subscriptions","organizations_url":"https://api.github.com/users/batzen/orgs","repos_url":"https://api.github.com/users/batzen/repos","events_url":"https://api.github.com/users/batzen/events{/privacy}","received_events_url":"https://api.github.com/users/batzen/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T17:57:20Z","updated_at":"2015-12-21T17:57:20Z","body":"Ok, VB.NET seems to behave different. You need to use:\r\n```\r\nx:Class=\"MainWindow\"\r\n```"}}