Xamarin XAML x:Static reference to property in a nested class
问题 I'm writing a mobile app using Xamarin and I have a static class called Strings that wraps my RESX resources. I want to use x:Static to bind to these in my XAML files. This is working if I have a single static class with static properties to bind to. I'm cutting out some comments and other non-essential bits, but it basically looks like this: namespace MyCompany.Resources { public static partial class Strings { public static string LabelUsername { get { return Resources.LabelUsername; } } } }