ComponentOne FinancialChart for WPF
C1.WPF 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. The C1MaskedTextBox is an editor that uses a mask to prevent end-users from entering invalid data.
    Syntax
    'Declaration
     
    
    <EditorBrowsableAttribute(EditorBrowsableState.Always)>
    <LicenseProviderAttribute()>
    <TemplatePartAttribute(Name="Watermark", Type=System.Windows.Controls.ContentControl)>
    <TemplateVisualStateAttribute(Name="Unwatermarked", GroupName="WatermarkStates")>
    <StyleTypedPropertyAttribute(Property="ValidationDecoratorStyle", StyleTargetType=C1.WPF.C1ValidationDecorator)>
    <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 C1TextBoxBase
    'Usage
     
    
    Dim instance As C1MaskedTextBox
    [EditorBrowsable(EditorBrowsableState.Always)]
    [LicenseProvider()]
    [TemplatePart(Name="Watermark", Type=System.Windows.Controls.ContentControl)]
    [TemplateVisualState(Name="Unwatermarked", GroupName="WatermarkStates")]
    [StyleTypedProperty(Property="ValidationDecoratorStyle", StyleTargetType=C1.WPF.C1ValidationDecorator)]
    [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 : C1TextBoxBase 
    [EditorBrowsable(EditorBrowsableState.Always)]
    [LicenseProvider()]
    [TemplatePart(Name="Watermark", Type=System.Windows.Controls.ContentControl)]
    [TemplateVisualState(Name="Unwatermarked", GroupName="WatermarkStates")]
    [StyleTypedProperty(Property="ValidationDecoratorStyle", StyleTargetType=C1.WPF.C1ValidationDecorator)]
    [Localizability(LocalizationCategory.Text)]
    [ContentProperty("Text")]
    [XmlLangProperty("Language")]
    [UsableDuringInitialization(true)]
    [RuntimeNameProperty("Name")]
    [UidProperty("Uid")]
    [TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
    [NameScopeProperty("NameScope", System.Windows.NameScope)]
    public ref class C1MaskedTextBox : public C1TextBoxBase 
    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.C1MaskedTextBox

    See Also