Font Famliy for SfChipGroup?

Hi,

I was wondering if there's a way to set the fontfamily for all chips in a SfChipGroup when using ItemSource. Or is this only available for SfChips?

Kind regards,

Nina


1 Reply 1 reply marked as answer

DD Devakumar Dhanapoosanam Syncfusion Team November 1, 2021 12:51 PM UTC

Hi Nina, 
 
Greetings from Syncfusion. 
 
We have analyzed your query and we would like to let you know that currently SfChipGroup does not have the FontFamily property, and it is available only in the SfChip
 
Also, we would like to let you know that we can apply the FontFamily for the chip items using the SfChipGroup ItemTemplate property and applying the SfChip as the Template with the FontFamily as per your requirement or by populating the SfChip as the SfChipGroup items
 
Please refer the below example code for more details, 
 
<buttons:SfChipGroup x:Name="chipGroup" 
                     ItemsSource="{Binding Data}" 
                     Type="Filter"  
                     ChipPadding="8,8,0,0" 
                     SelectionChanged="SfChipGroup_SelectionChanged" 
                     DisplayMemberPath="Name"> 
     
    <buttons:SfChipGroup.ItemTemplate> 
        <DataTemplate> 
            <StackLayout InputTransparent="True"> 
                <buttons:SfChip Text="{Binding Name}" 
                                FontFamily="Arial" 
                                ShowSelectionIndicator="{Binding IsChecked}"/> 
            </StackLayout> 
        </DataTemplate> 
    </buttons:SfChipGroup.ItemTemplate> 
</buttons:SfChipGroup> 
 
Please refer the below link for more details 
 
Please let us know if you need any further assistance on this. 
 
Regards, 
Devakumar D 


Marked as answer
Loader.
Up arrow icon