This type contains the following members.
public sealed enum ContentAction
- Inheritance:
- ObjectEnumContentAction
Values
Replace | Replaces any child content of the element if it exists, even if the tag helpers' content attribute is empty. This is the default behaviour. |
ReplaceIfNotEmpty | Replaces any child content of the element if it exists, but only if the tag helpers' content attribute is not empty. |
Prepend | Prepends the tag helpers' content attribute to any existing content. |
Append | Appends the tag helpers' content attribute to any existing content. |
LeaveExisting | The element content is left unchanged if the current content is non-empty. |