Ejemplo n.º 1
0
 public static CollectionPropertyConfiguration <T, TCollection> SelectedItem <T, TCollection>(this CollectionPropertyConfiguration <T, TCollection> propertyConfig, Expression <Func <T, object> > expression)
     where T : new()
     where TCollection : new()
 {
     return(propertyConfig);
 }
Ejemplo n.º 2
0
 public static CollectionPropertyConfiguration <T, TCollection> DisplayMember <T, TCollection>(this CollectionPropertyConfiguration <T, TCollection> propertyConfig, Expression <Func <TCollection, object> > expression)
     where T : new()
     where TCollection : new()
 {
     return(propertyConfig);
 }
Ejemplo n.º 3
0
 public static CollectionPropertyConfiguration <T, TCollection> WithOrder <T, TCollection>(this CollectionPropertyConfiguration <T, TCollection> propertyConfig, int order)
     where T : new()
     where TCollection : new()
 {
     propertyConfig._bag.WithOrder = order;
     return(propertyConfig);
 }
Ejemplo n.º 4
0
 public static CollectionPropertyConfiguration <T, TCollection> VisibleWhen <T, TCollection>(this CollectionPropertyConfiguration <T, TCollection> propertyConfig, Func <T, bool> func)
     where T : new()
     where TCollection : new()
 {
     propertyConfig._bag.VisibleWhen = func;
     return(propertyConfig);
 }
Ejemplo n.º 5
0
 public static CollectionPropertyConfiguration <T, TCollection> DisplayAs <T, TCollection>(this CollectionPropertyConfiguration <T, TCollection> propertyConfig, string caption)
     where T : new()
     where TCollection : new()
 {
     propertyConfig._bag.DisplayAs = caption;
     return(propertyConfig);
 }