public string GetAccessorTitle(string key) { return(PropertyFormatters.FirstOrDefault(_ => _.Key == key)?.Title ?? ""); }
public static void RegisterPropertyFormat <T>(Expression <Func <T, object> > property, Func <Binding, DataTemplate> formatter) where T : IRootEntity { PropertyFormatters.Add(PropertyRoute.Construct(property), formatter); }
public static void RegisterPropertyFormat <T>(Expression <Func <T, object> > propertyRoute, CellFormatter formatter) where T : IRootEntity { PropertyFormatters.Add(PropertyRoute.Construct(propertyRoute), formatter); }