{"action":"created","issue":{"url":"https://api.github.com/repos/Windows-XAML/Template10/issues/441","labels_url":"https://api.github.com/repos/Windows-XAML/Template10/issues/441/labels{/name}","comments_url":"https://api.github.com/repos/Windows-XAML/Template10/issues/441/comments","events_url":"https://api.github.com/repos/Windows-XAML/Template10/issues/441/events","html_url":"https://github.com/Windows-XAML/Template10/issues/441","id":124495597,"number":441,"title":"HamburgerButtonInfo Visibility","user":{"login":"jcmontoya","id":6794769,"avatar_url":"https://avatars.githubusercontent.com/u/6794769?v=3","gravatar_id":"","url":"https://api.github.com/users/jcmontoya","html_url":"https://github.com/jcmontoya","followers_url":"https://api.github.com/users/jcmontoya/followers","following_url":"https://api.github.com/users/jcmontoya/following{/other_user}","gists_url":"https://api.github.com/users/jcmontoya/gists{/gist_id}","starred_url":"https://api.github.com/users/jcmontoya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcmontoya/subscriptions","organizations_url":"https://api.github.com/users/jcmontoya/orgs","repos_url":"https://api.github.com/users/jcmontoya/repos","events_url":"https://api.github.com/users/jcmontoya/events{/privacy}","received_events_url":"https://api.github.com/users/jcmontoya/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Windows-XAML/Template10/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Windows-XAML/Template10/milestones/2","html_url":"https://github.com/Windows-XAML/Template10/milestones/NuGet%20Library%20v1.0.9","labels_url":"https://api.github.com/repos/Windows-XAML/Template10/milestones/2/labels","id":1358558,"number":2,"title":"NuGet Library v1.0.9","description":"","creator":{"login":"JerryNixon","id":1749983,"avatar_url":"https://avatars.githubusercontent.com/u/1749983?v=3","gravatar_id":"","url":"https://api.github.com/users/JerryNixon","html_url":"https://github.com/JerryNixon","followers_url":"https://api.github.com/users/JerryNixon/followers","following_url":"https://api.github.com/users/JerryNixon/following{/other_user}","gists_url":"https://api.github.com/users/JerryNixon/gists{/gist_id}","starred_url":"https://api.github.com/users/JerryNixon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JerryNixon/subscriptions","organizations_url":"https://api.github.com/users/JerryNixon/orgs","repos_url":"https://api.github.com/users/JerryNixon/repos","events_url":"https://api.github.com/users/JerryNixon/events{/privacy}","received_events_url":"https://api.github.com/users/JerryNixon/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":60,"state":"open","created_at":"2015-10-16T00:25:59Z","updated_at":"2016-01-22T21:15:56Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2015-12-31T18:56:16Z","updated_at":"2016-01-28T12:25:42Z","closed_at":"2016-01-09T01:14:46Z","body":"I am trying to bind the visibility property of the HamburgerButtonInfo control to a global property in the app.xaml.cs.\r\n\r\nThe binding works... I am binding both the visibility property of the HamburgerButtonInfo and the visibility of the TextBlock (inside HamburgerButtonInfo) to my variable. \r\n\r\nXAML code:\r\n\r\n`<Controls:HamburgerButtonInfo x:Name=\"sqlData\" PageType=\"views:SQLData\" >\r\n      <StackPanel  Orientation=\"Horizontal\">\r\n          <SymbolIcon  Width=\"48\" Height=\"48\" Symbol=\"Page2\" />\r\n          <TextBlock x:Name=\"abc\" Margin=\"12,0,0,0\" VerticalAlignment=\"Center\" Text=\"SQL Data\" />\r\n      </StackPanel>\r\n</Controls:HamburgerButtonInfo>`\r\n\r\n\r\nWhen I change the value of the variable the TextBlock changes to visible or collapsed as expected. But the  HamburgerButtonInfo is always visible. It never gets collapsed.\r\n\r\nThe code to set the binding:\r\n\r\nBinding myBinding = new Binding();\r\nmyBinding.Source = App.myValidator;\r\nmyBinding.Path = new PropertyPath(\"IsVerified\");\r\nmyBinding.Mode = BindingMode.OneWay;\r\nmyBinding.UpdateSourceTrigger = UpdateSourceTrigger.PropertyChanged;\r\nmyBinding.Converter = App.myConverter;\r\nBindingOperations.SetBinding(sqlData, HamburgerButtonInfo.VisibilityProperty, myBinding);\r\nBindingOperations.SetBinding(abc, TextBlock.VisibilityProperty, myBinding);\r\n\r\nAny ideas what can be the issue?\r\n\r\nThanks in advance\r\n"},"comment":{"url":"https://api.github.com/repos/Windows-XAML/Template10/issues/comments/176154852","html_url":"https://github.com/Windows-XAML/Template10/issues/441#issuecomment-176154852","issue_url":"https://api.github.com/repos/Windows-XAML/Template10/issues/441","id":176154852,"user":{"login":"jcmontoya","id":6794769,"avatar_url":"https://avatars.githubusercontent.com/u/6794769?v=3","gravatar_id":"","url":"https://api.github.com/users/jcmontoya","html_url":"https://github.com/jcmontoya","followers_url":"https://api.github.com/users/jcmontoya/followers","following_url":"https://api.github.com/users/jcmontoya/following{/other_user}","gists_url":"https://api.github.com/users/jcmontoya/gists{/gist_id}","starred_url":"https://api.github.com/users/jcmontoya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcmontoya/subscriptions","organizations_url":"https://api.github.com/users/jcmontoya/orgs","repos_url":"https://api.github.com/users/jcmontoya/repos","events_url":"https://api.github.com/users/jcmontoya/events{/privacy}","received_events_url":"https://api.github.com/users/jcmontoya/received_events","type":"User","site_admin":false},"created_at":"2016-01-28T12:25:42Z","updated_at":"2016-01-28T12:25:42Z","body":"Jerry this is working now. Thank you very much!"}}