Click or drag to resize
IAbstractInlineTagPropertiesCanHide Property
Indicates whether the tag is allowed to be hidden during editing operations.

Namespace: Sdl.FileTypeSupport.Framework.NativeApi
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2343.0)
Syntax
bool CanHide { get; set; }

Property Value

Type: Boolean
Remarks

Hidden tags can easily get deleted by mistake during editing operations. Always set this to false for tags that represent important content that the user should not delete unknowingly.

Typically this is set to true for elements like tag pairs that represent pure character formatting, without any other associated functionality - and only if the relevant Sdl.FileTypeSupport.Framework.Formatting properties have been set for the tag, so that the user can see what the character formatting actually looks like in the editor without any need to see the tags.

Setting this to true does not necessarily mean that the tag will always be hidden. This will be determined by the editor (i.e. the user may change this at runtime through a setting).

This is false by default for all tag types.

See Also
Community
Edit
Be the first to Edit the community content of this topic.
Comments