{"action":"closed","issue":{"url":"https://api.github.com/repos/Caliburn-Micro/Caliburn.Micro/issues/168","labels_url":"https://api.github.com/repos/Caliburn-Micro/Caliburn.Micro/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/Caliburn-Micro/Caliburn.Micro/issues/168/comments","events_url":"https://api.github.com/repos/Caliburn-Micro/Caliburn.Micro/issues/168/events","html_url":"https://github.com/Caliburn-Micro/Caliburn.Micro/issues/168","id":73591675,"number":168,"title":"Message.Attach not passing parameters by name","user":{"login":"jonferreira","id":7714292,"avatar_url":"https://avatars.githubusercontent.com/u/7714292?v=3","gravatar_id":"","url":"https://api.github.com/users/jonferreira","html_url":"https://github.com/jonferreira","followers_url":"https://api.github.com/users/jonferreira/followers","following_url":"https://api.github.com/users/jonferreira/following{/other_user}","gists_url":"https://api.github.com/users/jonferreira/gists{/gist_id}","starred_url":"https://api.github.com/users/jonferreira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonferreira/subscriptions","organizations_url":"https://api.github.com/users/jonferreira/orgs","repos_url":"https://api.github.com/users/jonferreira/repos","events_url":"https://api.github.com/users/jonferreira/events{/privacy}","received_events_url":"https://api.github.com/users/jonferreira/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-05-06T11:12:49Z","updated_at":"2015-05-11T23:28:10Z","closed_at":"2015-05-11T23:28:10Z","body":"```XAML\r\n<TextBox x:Name=\"TemplateEmail\" Grid.Row=\"1\" Margin=\"0,5,0,0\" IsEnabled=\"{Binding ElementName=EnviaEmail, Path=IsChecked}\">\r\n    <TextBox.ContextMenu>\r\n        <ContextMenu>\r\n            <MenuItem Header=\"Cliente\" cal:Message.Attach=\"[Click] = [Action ContextMenuCliente(TemplateEmail.Name, TemplateEmail.CaretIndex)]\"  />\r\n            <MenuItem Header=\"Contacto\" cal:Message.Attach=\"[Click] = [Action ContextMenuContacto($source)]\"  />\r\n        </ContextMenu>\r\n    </TextBox.ContextMenu>\r\n</TextBox>```\r\n\r\nGreetings,\r\n\r\nI'm using the code above to \"mimic\" Copy + Paste in MMV: i know the ViewModel property name (TemplateEmail.Name, know where the cursor is TemplateEmail.CaretIndex so i can now \"paste\" my text in the correct place.\r\n\r\nHowever for some reason i'm simple getting null and 0 instead of the correct values. variables such as $view, $this, etc are working so it seems to be related to named FrameworkElements?\r\n\r\nI know i can't pass a FrameworkElement as a parameter with Message.Attach but i assumed i could at least pass some specific properties?"}}