The C1TextBoxBase type exposes the following members.

Constructors

  Name Description
Public method C1TextBoxBase
Initializes a new instance of a C1TextBoxBase.

Methods

  Name Description
Protected method ChangeVisualStateWatermark
Updates the current visual state of the Watermark visual state group to match the object's properties.
Protected method OnApplyTemplate
Builds the visual tree for the C1TextBoxBase control when a new template is applied.
(Overrides FrameworkElementOnApplyTemplate()()()().)
Protected method OnIsFocusedChanged
Callback called when the [P:IsFocused] property changes.
Protected method OnKeyDown
Called when KeyDown event occurs.
(Overrides ControlOnKeyDown(KeyRoutedEventArgs).)
Protected method OnTextChanged
Called immediately after the Text property changes.
Protected method RaisePropertyChanged
Raises the property changed event.
Protected method UpdateIsWatermarked
Derived classes can call this method when the [P:IsWatermarked] state is changed from their point of view. This method forces the IsWatermarked state to be updated without clearing the Text property.

Fields

  Name Description
Public field Static member C1TextProperty
Identifies the C1Text dependency property.
Public field Static member CornerRadiusProperty
Identifies the CornerRadius dependency property.
Public field Static member DisabledCuesVisibilityProperty
Identifies the DisabledCuesVisibility dependency property.
Public field Static member FocusBrushProperty
Identifies the FocusBrush dependency property.
Public field Static member FocusCuesVisibilityProperty
Identifies the FocusCuesVisibility dependency property.
Public field Static member IsFocusedProperty
Identifies the IsFocused dependency property.
Public field Static member MouseOverBrushProperty
Identifies the MouseOverBrush dependency property.
Public field Static member SelectOnFocusProperty
Identifies the SelectOnFocus dependency property.
Public field Static member ValidationDecoratorStyleProperty
Identifies the ValidationDecoratorStyle dependency property.
Public field Static member WatermarkProperty
Identifies the Watermark dependency property.

Properties

  Name Description
Public property C1Text
Get or set the C1Text property. This property is used as a workaround when a binding needs to be updated on each keystroke.
Public property CornerRadius
Gets or sets a value that represents the degree to which the corners of the element are rounded.
Public property DisabledCuesVisibility
Gets or sets a value indicating whether the disabled visuals of the control are visible.
Public property FocusBrush
Gets or sets the Brush used to highlight the focused control.
Public property FocusCuesVisibility
Gets or sets a value indicating whether the focus visuals of the control are visible.
Public property IsFocused
Returns true if the control has the focus.
Public property IsWatermarked
Gets a value indicating whether this textbox is watermarked.
Public property MouseOverBrush
Gets or sets the Brush used to highlight the control when it has the mouse over.
Public property SelectOnFocus
Gets or sets the condition under which all control text is selected when the control receives focus.
Public property ValidationDecoratorStyle
Gets or sets the style that is applied to the inner C1ValidationDecorator.
Public property Watermark
Gets or sets the content of the watermark.

Events

  Name Description
Public event KeyDown
Occurs when a keyboard key is pressed while the UIElement has focus.
Public event PropertyChanged
Occurs when a property value changes.

See Also