The C1TextBoxBase type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
|
C1TextBoxBase |
Initializes a new instance of a C1TextBoxBase.
|
Methods
| Name | Description | |
|---|---|---|
|
|
ChangeVisualStateWatermark |
Updates the current visual state of the Watermark visual state group to match the object's properties.
|
|
|
OnApplyTemplate |
Builds the visual tree for the C1TextBoxBase control when a new template is applied.
(Overrides FrameworkElementOnApplyTemplate()()()().) |
|
|
OnIsFocusedChanged |
Callback called when the [P:IsFocused] property changes.
|
|
|
OnKeyDown |
Called when KeyDown event occurs.
(Overrides ControlOnKeyDown(KeyRoutedEventArgs).) |
|
|
OnTextChanged |
Called immediately after the Text property changes.
|
|
|
RaisePropertyChanged |
Raises the property changed event.
|
|
|
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 | |
|---|---|---|
|
|
C1TextProperty |
Identifies the C1Text dependency property.
|
|
|
CornerRadiusProperty |
Identifies the CornerRadius dependency property.
|
|
|
DisabledCuesVisibilityProperty |
Identifies the DisabledCuesVisibility dependency property.
|
|
|
FocusBrushProperty |
Identifies the FocusBrush dependency property.
|
|
|
FocusCuesVisibilityProperty |
Identifies the FocusCuesVisibility dependency property.
|
|
|
IsFocusedProperty |
Identifies the IsFocused dependency property.
|
|
|
MouseOverBrushProperty |
Identifies the MouseOverBrush dependency property.
|
|
|
SelectOnFocusProperty |
Identifies the SelectOnFocus dependency property.
|
|
|
ValidationDecoratorStyleProperty |
Identifies the ValidationDecoratorStyle dependency property.
|
|
|
WatermarkProperty |
Identifies the Watermark dependency property.
|
Properties
| Name | Description | |
|---|---|---|
|
|
C1Text |
Get or set the C1Text property.
This property is used as a workaround when a binding needs to be updated on each keystroke.
|
|
|
CornerRadius |
Gets or sets a value that represents the degree to which the corners of the element are rounded.
|
|
|
DisabledCuesVisibility |
Gets or sets a value indicating whether the disabled visuals of the control are visible.
|
|
|
FocusBrush |
Gets or sets the Brush used to highlight the focused control.
|
|
|
FocusCuesVisibility |
Gets or sets a value indicating whether the focus visuals of the control are visible.
|
|
|
IsFocused |
Returns true if the control has the focus.
|
|
|
IsWatermarked |
Gets a value indicating whether this textbox is watermarked.
|
|
|
MouseOverBrush |
Gets or sets the Brush used to highlight the control when it has the mouse over.
|
|
|
SelectOnFocus |
Gets or sets the condition under which all control text is selected when the control receives focus.
|
|
|
ValidationDecoratorStyle |
Gets or sets the style that is applied to the inner C1ValidationDecorator.
|
|
|
Watermark |
Gets or sets the content of the watermark.
|
Events
| Name | Description | |
|---|---|---|
|
|
KeyDown |
Occurs when a keyboard key is pressed while the UIElement has focus.
|
|
|
PropertyChanged |
Occurs when a property value changes.
|