<StackLayout>
<BindableLayout.ItemsSource>
<ListCollection:List x:TypeArguments="x:String">
<x:String>Item1</x:String>
<x:String>Item2</x:String>
<x:String>Item3</x:String>
<x:String>Item4</x:String>
</ListCollection:List>
</BindableLayout.ItemsSource>
<BindableLayout.ItemTemplate>
<DataTemplate>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="3*" />
</Grid.ColumnDefinitions>
<inputLayout:SfTextInputLayout
BackgroundColor="Linen"
ContainerType="Outlined"
Hint="Rule Type">
<Entry Text="Contains" />
</inputLayout:SfTextInputLayout>
<inputLayout:SfTextInputLayout
Grid.Column="1"
BackgroundColor="Linen"
CharMaxLength="100"
ContainerType="Outlined"
ErrorText="Please enter value"
HasError="True"
Hint="Rule Value"
ShowCharCount="True">
<Entry />
</inputLayout:SfTextInputLayout>
</Grid>
</DataTemplate>
</BindableLayout.ItemTemplate>
</StackLayout> |