[]
        
(Showing Draft Content)

C1.WPF.Input.C1Tag

C1Tag Class

Visual element used inside a C1TagEditor.

Namespace: C1.WPF.Input
Assembly: C1.WPF.Input.4.6.2.dll
Syntax
[TemplatePart(Name = "Content", Type = typeof(ContentPresenter))]
[TemplatePart(Name = "Editor", Type = typeof(C1TextBoxBase))]
[TemplatePart(Name = "Remove", Type = typeof(Button))]
public class C1Tag : ContentControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild

Constructors

Name Description
C1Tag()

Initializes a new instance of a C1Tag.

Fields

Name Description
IsEditableProperty

Identifies the IsEditable dependency property.

IsInEditModeProperty

Identifies the IsInEditMode dependency property.

IsTagEditableProperty

Identifies the IsTagEditable dependency property.

Properties

Name Description
IsEditable

Gets or sets a value that enables or disables editing of the text in text box of the control.

IsInEditMode

Gets or sets a value indicates whether the control enters in edit mode or not.

IsTagEditable

Gets or sets a value that determines whether the tag is editable or not.

Methods

Name Description
OnApplyTemplate()

Builds the visual tree for the C1Tag control when a new template is applied.

OnContentUpdating(object, CancelEventArgs)

Occurs before a tag end edit.

OnRemoveButtonClicked(object, RoutedEventArgs)

Occurs when remove button is clicked.

OnTagEdited(object, TagEditedEventArgs)

Occurs when a tag is edited.

UpdateVisualState()

Update the visual state of this control

Events

Name Description
ContentUpdating

Occurs before a tag's content is updating.

RemoveButtonClicked

Occurs when remove button is clicked.

TagEdited

Occurs when a tag is edited.