In This Topic
Represents a control that uses a mask to prevent users from entering invalid data.
Object Model
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
See Also