Summary
Global optionsto pass to
GenericLocalizeTagHelper
and LocalizeTagHelper
.
- Namespace
- Localization
.AspNetCore .TagHelpers - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["LocalizeTagHelperOptions"]
class Type type-node
Syntax
public class LocalizeTagHelperOptions
Properties
Name | Value | Summary |
---|---|---|
HtmlEncodeByDefault | bool |
Gets or sets a value indicating whether the localize tag helpers should localize its content by default.
(Can be overridden by using
html= when calling one of the localize tag helpers).
|
NewLineHandling | NewLineHandling |
Gets or sets what new lines should be normalized to, or
None
to use existing line endings.
|
TrimWhitespace | bool |
Gets or sets a value indicating whether beginning and ending whitespace.
|