Xceed Toolkit Plus for WPF v4.6 Documentation
TokenizedTextBox Class
Members 


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace : TokenizedTextBox Class
Represents a textbox control that lets you edit and display a series of values as tokens. If an ItemsSource is specified, an AutoComplete popup will appear with a filtered list of valid values during editing.
Syntax
'Declaration
 
<TemplatePartAttribute(Name="PART_RichTextBox", Type=System.Windows.Controls.RichTextBox)>
<DefaultEventAttribute("OnItemsChanged")>
<DefaultPropertyAttribute("Items")>
<ContentPropertyAttribute("Items")>
<StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=System.Windows.FrameworkElement)>
<LocalizabilityAttribute(LocalizationCategory.None, Readability=Readability.Unreadable)>
<XmlLangPropertyAttribute("Language")>
<UsableDuringInitializationAttribute(True)>
<RuntimeNamePropertyAttribute("Name")>
<UidPropertyAttribute("Uid")>
<TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
<NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
Public Class TokenizedTextBox 
   Inherits Xceed.Wpf.Toolkit.Primitives.Selector
'Usage
 
Dim instance As TokenizedTextBox
[TemplatePart(Name="PART_RichTextBox", Type=System.Windows.Controls.RichTextBox)]
[DefaultEvent("OnItemsChanged")]
[DefaultProperty("Items")]
[ContentProperty("Items")]
[StyleTypedProperty(Property="ItemContainerStyle", StyleTargetType=System.Windows.FrameworkElement)]
[Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)]
[XmlLangProperty("Language")]
[UsableDuringInitialization(true)]
[RuntimeNameProperty("Name")]
[UidProperty("Uid")]
[TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
[NameScopeProperty("NameScope", System.Windows.NameScope)]
public class TokenizedTextBox : Xceed.Wpf.Toolkit.Primitives.Selector 
Example

        <xctk:TokenizedTextBox x:Name="_tokenizedTextBox"

                                                      Width="500"

                                                      AllowTokenDelete=”True”

                                                      ValueMemberPath=”ID”

                                                      DisplayMemberPath=”FirstName,LastName”

                                                      DisplayFormat=”LastName, FirstName

                                                      SearchMemberPath=”FirstName,LastName” />

Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.DependencyObject
         System.Windows.Media.Visual
            System.Windows.UIElement
               System.Windows.FrameworkElement
                  System.Windows.Controls.Control
                     System.Windows.Controls.ItemsControl
                        Xceed.Wpf.Toolkit.Primitives.Selector
                           Xceed.Wpf.Toolkit.TokenizedTextBox

Requirements

See Also

Reference

TokenizedTextBox Members
Xceed.Wpf.Toolkit Namespace