Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit Namespace / MaterialTextField Class
Members


In This Topic
    MaterialTextField Class
    In This Topic

    Represents a text field that contains a customizable watermark that remains active when text is entered and uses the material colors and animations.

    Syntax
    'Declaration
     
    <TemplatePartAttribute(Name="PART_Watermark", Type=System.Windows.Controls.ContentPresenter)>
    <LocalizabilityAttribute(LocalizationCategory.Text)>
    <ContentPropertyAttribute("Text")>
    <StyleTypedPropertyAttribute(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)>
    <XmlLangPropertyAttribute("Language")>
    <UsableDuringInitializationAttribute(True)>
    <RuntimeNamePropertyAttribute("Name")>
    <UidPropertyAttribute("Uid")>
    <TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
    <NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
    Public Class MaterialTextField 
       Inherits System.Windows.Controls.TextBox
       Implements Xceed.Wpf.Toolkit.MaterialControls.IMaterialBrushes 
    'Usage
     
    Dim instance As MaterialTextField
    [TemplatePart(Name="PART_Watermark", Type=System.Windows.Controls.ContentPresenter)]
    [Localizability(LocalizationCategory.Text)]
    [ContentProperty("Text")]
    [StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)]
    [XmlLangProperty("Language")]
    [UsableDuringInitialization(true)]
    [RuntimeNameProperty("Name")]
    [UidProperty("Uid")]
    [TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
    [NameScopeProperty("NameScope", System.Windows.NameScope)]
    public class MaterialTextField : System.Windows.Controls.TextBox, Xceed.Wpf.Toolkit.MaterialControls.IMaterialBrushes  
    Remarks
    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.Primitives.TextBoxBase
                            System.Windows.Controls.TextBox
                               Xceed.Wpf.Toolkit.MaterialTextField

    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also