{"action":"closed","issue":{"url":"https://api.github.com/repos/Perspex/Perspex/issues/309","labels_url":"https://api.github.com/repos/Perspex/Perspex/issues/309/labels{/name}","comments_url":"https://api.github.com/repos/Perspex/Perspex/issues/309/comments","events_url":"https://api.github.com/repos/Perspex/Perspex/issues/309/events","html_url":"https://github.com/Perspex/Perspex/issues/309","id":115960936,"number":309,"title":"Error loading XAML: OmniXaml.XamlParseException: Could not find PerspexProperty 'Rectangle.Fill'","user":{"login":"wieslawsoltes","id":2297442,"avatar_url":"https://avatars.githubusercontent.com/u/2297442?v=3","gravatar_id":"","url":"https://api.github.com/users/wieslawsoltes","html_url":"https://github.com/wieslawsoltes","followers_url":"https://api.github.com/users/wieslawsoltes/followers","following_url":"https://api.github.com/users/wieslawsoltes/following{/other_user}","gists_url":"https://api.github.com/users/wieslawsoltes/gists{/gist_id}","starred_url":"https://api.github.com/users/wieslawsoltes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wieslawsoltes/subscriptions","organizations_url":"https://api.github.com/users/wieslawsoltes/orgs","repos_url":"https://api.github.com/users/wieslawsoltes/repos","events_url":"https://api.github.com/users/wieslawsoltes/events{/privacy}","received_events_url":"https://api.github.com/users/wieslawsoltes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-09T20:39:50Z","updated_at":"2015-11-09T23:17:43Z","closed_at":"2015-11-09T23:17:43Z","body":"Can not get this style working:\r\n\r\n```XAML\r\n<Style Selector=\"Rectangle.separator\">\r\n    <Setter Property=\"Fill\" Value=\"#ffd7d7d7\"/>\r\n    <Setter Property=\"HorizontalAlignment\" Value=\"Stretch\"/>\r\n    <Setter Property=\"IsHitTestVisible\" Value=\"False\"/>\r\n    <Setter Property=\"Height\" Value=\"1\"/>\r\n    <Setter Property=\"Margin\" Value=\"29,1,0,1\"/>\r\n</Style>\r\n```\r\n\r\n```XAML\r\n<Rectangle Classes=\"separator\"/>\r\n```\r\n\r\n```\r\nError loading XAML: OmniXaml.XamlParseException: Could not find PerspexProperty 'Rectangle.Fill'.\r\n   w Perspex.Markup.Xaml.Converters.PerspexPropertyTypeConverter.ConvertFrom(IXamlTypeConverterContext context, CultureInfo culture, Object value)\r\n   w OmniXaml.ObjectAssembler.ValuePipeline.ConvertValueIfNecessary(Object value, XamlType targetType)\r\n   w OmniXaml.ObjectAssembler.StateCommuter.AssignChildToParentProperty()\r\n   w OmniXaml.ObjectAssembler.Commands.ValueCommand.Execute()\r\n   w OmniXaml.ObjectAssembler.ObjectAssembler.Process(XamlInstruction instruction)\r\n   w OmniXaml.TemplateHostingObjectAssembler.Process(XamlInstruction instruction)\r\n   w Perspex.Markup.Xaml.Context.PerspexObjectAssembler.Process(XamlInstruction node)\r\n   w OmniXaml.XamlXmlParser.Parse(IEnumerable`1 xamlNodes)\r\n   w OmniXaml.XamlXmlParser.Parse(IXmlReader stream)\r\n   w OmniXaml.XamlXmlLoader.Load(Stream stream, IXamlParser parser)\r\n```\r\n\r\nChanging to:\r\n```XAML\r\n<Style Selector=\"Shape.separator\">\r\n```\r\ndoes not throw, but still style is not applied properly to `Rectangle`\r\n \r\nThis renders properly:\r\n```XAML\r\n<Rectangle Fill=\"#ffd7d7d7\" HorizontalAlignment=\"Stretch\" IsHitTestVisible=\"False\" Height=\"1\" Margin=\"29,1,0,1\"/>\r\n```"}}