Class AutoCompleteTokenItem
Represents the container for the items that are generated in the selection area of SfAutoComplete control in multiple selection mode.
Inherited Members
Namespace: Syncfusion.UI.Xaml.Editors
Assembly: Syncfusion.Editors.WinUI.dll
Syntax
public class AutoCompleteTokenItem : TokenItemExamples
The following example shows how to customize the style of AutoCompleteTokenItem generated in the selection area of AutoComplete control.
<Grid>
    <Grid.DataContext>
        <local:AutoCompleteViewModel/>
    </Grid.DataContext>
    <editors:SfAutoComplete SelectionMode="Multiple"
                            ItemsSource="{Binding Sports}"
                            TextMemberPath="Name"
                            DisplayMemberPath="Name">
          <editors:SfAutoComplete.TokenItemStyle>
               <Style TargetType = "editors:AutoCompleteTokenItem" >
                   <Setter Property="Foreground" Value="Red"/>
                   <Setter Property = "Background" Value="LightCyan"/>
               </Style>
          </editors:SfAutoComplete.TokenItemStyle>
    </editors:SfAutoComplete>
</Grid>Constructors
AutoCompleteTokenItem()
Initializes a new instance of the AutoCompleteTokenItem class.
Declaration
public AutoCompleteTokenItem()