@@ -7,54 +7,54 @@ public static class BindableLayoutExtensions
7
7
{
8
8
public static T FlexAlignSelf < T > ( this T view , FlexAlignSelf value ) where T : View
9
9
{
10
- FlexLayout . SetAlignSelf ( ( BindableObject ) view , value ) ;
10
+ FlexLayout . SetAlignSelf ( view , value ) ;
11
11
return view ;
12
12
}
13
13
14
14
public static T FlexBasis < T > ( this T view , FlexBasis value ) where T : View
15
15
{
16
- FlexLayout . SetBasis ( ( BindableObject ) view , value ) ;
16
+ FlexLayout . SetBasis ( view , value ) ;
17
17
return view ;
18
18
}
19
19
20
20
public static T FlexOrder < T > ( this T view , int value ) where T : View
21
21
{
22
- FlexLayout . SetOrder ( ( BindableObject ) view , value ) ;
22
+ FlexLayout . SetOrder ( view , value ) ;
23
23
return view ;
24
24
}
25
25
26
26
public static T FlexGrow < T > ( this T view , float value ) where T : View
27
27
{
28
- FlexLayout . SetGrow ( ( BindableObject ) view , value ) ;
28
+ FlexLayout . SetGrow ( view , value ) ;
29
29
return view ;
30
30
}
31
31
32
32
public static T FlexShrink < T > ( this T view , float value ) where T : View
33
33
{
34
- FlexLayout . SetShrink ( ( BindableObject ) view , value ) ;
34
+ FlexLayout . SetShrink ( view , value ) ;
35
35
return view ;
36
36
}
37
37
38
- public static T EmptyViewTemplates < T > ( this T layout , DataTemplate template ) where T : BindableObject , Microsoft . Maui . ILayout
38
+ public static T BindableLayoutEmptyViewTemplate < T > ( this T layout , DataTemplate template ) where T : BindableObject , Microsoft . Maui . ILayout
39
39
{
40
40
BindableLayout . SetEmptyViewTemplate ( layout , template ) ;
41
41
return layout ;
42
42
}
43
43
44
- public static T ItemsSources < T > ( this T layout , IEnumerable source ) where T : BindableObject , Microsoft . Maui . ILayout
44
+ public static T BindableLayoutItemsSource < T > ( this T layout , IEnumerable source ) where T : BindableObject , Microsoft . Maui . ILayout
45
45
{
46
46
BindableLayout . SetItemsSource ( layout , source ) ;
47
47
return layout ;
48
48
}
49
49
50
- public static T ItemsSources < T > ( this T layout , Func < PropertyContext < IEnumerable > , IPropertyBuilder < IEnumerable > > configure ) where T : BindableObject , Microsoft . Maui . ILayout
50
+ public static T BindableLayoutItemsSource < T > ( this T layout , Func < PropertyContext < IEnumerable > , IPropertyBuilder < IEnumerable > > configure ) where T : BindableObject , Microsoft . Maui . ILayout
51
51
{
52
52
var context = new PropertyContext < IEnumerable > ( layout , BindableLayout . ItemsSourceProperty ) ;
53
53
configure ( context ) . Build ( ) ;
54
54
return layout ;
55
55
}
56
56
57
- public static T ItemTemplates < T > ( this T layout , DataTemplate template ) where T : BindableObject , Microsoft . Maui . ILayout
57
+ public static T BindableLayoutItemTemplate < T > ( this T layout , DataTemplate template ) where T : BindableObject , Microsoft . Maui . ILayout
58
58
{
59
59
BindableLayout . SetItemTemplate ( layout , template ) ;
60
60
return layout ;
0 commit comments