public string GetAccessorTitle(string key)
 {
     return(PropertyFormatters.FirstOrDefault(_ => _.Key == key)?.Title ?? "");
 }
Esempio n. 2
0
 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);
 }