ComponentOne Input Library for WPF
C1.WPF.Input Namespace / C1MaskedTextBox Class
Members

In This Topic
    C1MaskedTextBox Class
    In This Topic
    Represents a control that uses a mask to prevent users from entering invalid data.
    Object Model
    C1MaskedTextBox Class
    Syntax
    'Declaration
     
    
    <C1ControlAttribute(NeedsInitializeStatic=True, SetDefaultStyleKey=False)>
    <EditorBrowsableAttribute(EditorBrowsableState.Always)>
    <C1TemplatePartAttribute(Name="Placeholder", Type=System.Windows.Controls.TextBlock)>
    <C1VisualStateAttribute(Name="Focused", 
       GroupName="Focus", 
       Condition="IsFocused")>
    <StyleTypedPropertyAttribute(Property="ValidationDecoratorStyle", StyleTargetType=C1.WPF.Input.C1ValidationDecorator)>
    <TemplatePartAttribute(Name="Placeholder", Type=System.Windows.Controls.TextBlock)>
    <TemplateVisualStateAttribute(Name="Focused", GroupName="FocusStates")>
    <LocalizabilityAttribute(LocalizationCategory.Text)>
    <ContentPropertyAttribute("Text")>
    <XmlLangPropertyAttribute("Language")>
    <UsableDuringInitializationAttribute(True)>
    <RuntimeNamePropertyAttribute("Name")>
    <UidPropertyAttribute("Uid")>
    <TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
    <NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
    Public Class C1MaskedTextBox 
       Inherits C1TextBox
    [C1Control(NeedsInitializeStatic=true, SetDefaultStyleKey=false)]
    [EditorBrowsable(EditorBrowsableState.Always)]
    [C1TemplatePart(Name="Placeholder", Type=System.Windows.Controls.TextBlock)]
    [C1VisualState(Name="Focused", 
       GroupName="Focus", 
       Condition="IsFocused")]
    [StyleTypedProperty(Property="ValidationDecoratorStyle", StyleTargetType=C1.WPF.Input.C1ValidationDecorator)]
    [TemplatePart(Name="Placeholder", Type=System.Windows.Controls.TextBlock)]
    [TemplateVisualState(Name="Focused", GroupName="FocusStates")]
    [Localizability(LocalizationCategory.Text)]
    [ContentProperty("Text")]
    [XmlLangProperty("Language")]
    [UsableDuringInitialization(true)]
    [RuntimeNameProperty("Name")]
    [UidProperty("Uid")]
    [TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
    [NameScopeProperty("NameScope", System.Windows.NameScope)]
    public class C1MaskedTextBox : C1TextBox 
    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
                                     C1.WPF.Input.C1MaskedTextBox

    See Also