[]
The ContentControl that supports edit mode using a TextBox.
[TemplatePart(Name = "EditControl", Type = typeof(C1TextBoxBase))]
[TemplatePart(Name = "ContentControl", Type = typeof(ContentPresenter))]
public class C1TextEditableContentControl : C1EditableContentControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IDisposable
Name | Description |
---|---|
C1TextEditableContentControl() | Initializes a new instance of the C1TextEditableContentControl class. |
Name | Description |
---|---|
CaretBrushProperty | Identifies the CaretBrush dependency property. |
IsPlaceholderVisibleProperty | Identifies the IsPlaceholderVisible dependency property. |
PlaceholderProperty | Identifies the Placeholder dependency property. |
TextAlignmentProperty | Identifies the TextAlignment dependency property. |
Name | Description |
---|---|
CaretBrush | Gets or sets the Brush of the blinking cursor of an input control. |
EditTextBox | C1.Silverlight.C1TextBoxBase used during the edit mode. |
IsDirty | Get or sets whether the element was edited during edit mode. |
IsPlaceholderVisible | Get or sets if the placeholder is shown. |
Placeholder | Gets or sets the placeholder text. |
TextAlignment | Gets or sets how the text should be aligned in the C1TextEditableContentControl. |
Name | Description |
---|---|
Dispose(bool) | |
OnApplyTemplate() | |
OnEditCanceled() | Fires the C1.Silverlight.C1EditableContentControl.EditCanceled event. |
OnIsInEditModeChanged() | The control has changed the mode. |
ShouldEnterEditModeOnKeyDown(Key) | Called to define if the control has to enter edit mode when a particular key is pressed. For example: arrow keys might not change to edit mode. |
Name | Description |
---|---|
TextBoxKeyDown | Event fired when a key is pressed in the EditableTextBox. |
TextBoxKeyUp | Event fired when a key is released in the EditableTextBox. |
TextEdited | Event fired to do when the text is edited in the EditableTextBox. |
ValidateInput | Event fired when the editing is completed. Handle this event to validate the new input. |