{"action":"closed","issue":{"url":"https://api.github.com/repos/Perspex/Perspex/issues/217","labels_url":"https://api.github.com/repos/Perspex/Perspex/issues/217/labels{/name}","comments_url":"https://api.github.com/repos/Perspex/Perspex/issues/217/comments","events_url":"https://api.github.com/repos/Perspex/Perspex/issues/217/events","html_url":"https://github.com/Perspex/Perspex/issues/217","id":108531556,"number":217,"title":"Value not changing in ProgressBar","user":{"login":"algamer31","id":7473959,"avatar_url":"https://avatars.githubusercontent.com/u/7473959?v=3","gravatar_id":"","url":"https://api.github.com/users/algamer31","html_url":"https://github.com/algamer31","followers_url":"https://api.github.com/users/algamer31/followers","following_url":"https://api.github.com/users/algamer31/following{/other_user}","gists_url":"https://api.github.com/users/algamer31/gists{/gist_id}","starred_url":"https://api.github.com/users/algamer31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algamer31/subscriptions","organizations_url":"https://api.github.com/users/algamer31/orgs","repos_url":"https://api.github.com/users/algamer31/repos","events_url":"https://api.github.com/users/algamer31/events{/privacy}","received_events_url":"https://api.github.com/users/algamer31/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-09-27T12:08:51Z","updated_at":"2015-10-15T21:24:38Z","closed_at":"2015-10-15T21:24:38Z","body":"Here is where the problem is (I think):\r\n\r\n```\r\n private void ValueChanged(PerspexPropertyChangedEventArgs e)\r\n        {\r\n\t\t\t\r\n            if (_indicator != null)\r\n            {\r\n                double percent = Maximum == Minimum ? 1.0 : ((double)e.NewValue - Minimum) / (Maximum - Minimum);\r\n                _indicator.Width = Bounds.Width * percent;\r\n            }\r\n        }\r\n```\r\n`_indicator` is not being initialized. When I remove\r\n```\r\nif (_indicator != null)\r\n```\r\nThe program gives this exception: \"Object reference not set to an instance of an object\"\r\nIt also ignores the Breakpoint on \r\n```\r\n_indicator.Width...\r\n```\r\n\r\n"}}