PreviewableTextEditorAttributePreviewUnsetTexts Property

The string values to use in the template inplace of an unset or undefined source value. By default unset values are shown as "(unset)" or by showing the default value appened with "(default)". Items in this array shall match the sources list, first value is used with the first source, and so forth. If an entry in this array is null, the default functionality is applied with corresponding source.

Definition

Namespace: MFiles.VAF.Configuration
Assembly: MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
C#
public string[] PreviewUnsetTexts { get; set; }

Property Value

String

Example

PreviewTemplate = "{0}.{1}", PreviewUnsetTexts = [ "", "Nothing" ] => If both source value are undefined, produces: ".Nothing". => If first source values is unset and second "bar", produces: ".bar" => If source values are set to "foo" and "bar", produces: "foo.bar"

See Also