<StackLayout>
<buttons:SfChipGroup Type="Action" x:Name="chipGroup">
<buttons:SfChipGroup.Items>
<buttons:SfChip Text="Small"/>
<buttons:SfChip Text="Medium"/>
<buttons:SfChip Text="Large"/>
</buttons:SfChipGroup.Items>
</buttons:SfChipGroup>
<Button Clicked="Button_Clicked" Text="Add Item"/>
</StackLayout> |
private void Button_Clicked(object sender, EventArgs e)
{
chipGroup.ChipLayout.Children.Insert(0, new SfChip() { Text = "NewItem" });
} |