WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TokenItem

    Show / Hide Table of Contents

    Class TokenItem

    Represents the individual token of the TextBoxExt control.

    Inheritance
    System.Object
    TokenItem
    Namespace: Syncfusion.Windows.Controls.Input
    Assembly: Syncfusion.SfInput.Wpf.dll
    Syntax
    public class TokenItem : ContentControl

    Constructors

    TokenItem(SfTextBoxExt)

    Declaration
    public TokenItem(SfTextBoxExt autocomplete)
    Parameters
    Type Name Description
    SfTextBoxExt autocomplete

    Fields

    ImageProperty

    Using a DependencyProperty as the backing store for Image. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty ImageProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    TextProperty

    Using a DependencyProperty as the backing store for Text. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty TextProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Properties

    Image

    Gets or sets a value that indicates the image in token mode.

    Declaration
    public ImageSource Image { get; set; }
    Property Value
    Type Description
    System.Windows.Media.ImageSource

    Text

    Gets or sets a value indicates the text in token mode.

    Declaration
    public string Text { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    OnApplyTemplate()

    customization settings to token.

    Declaration
    public override void OnApplyTemplate()
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved