PreviewableTextEditorAttributePreviewValueFormats Property
The string values to preformat the values of the sources.
By default all values are used directly, but with these format strings additional content can be added
for values which are set.
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 the corresponding source.
Values must include "{0}" or the actual source value is lost.
Namespace: MFiles.VAF.ConfigurationAssembly: MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
public string[] PreviewValueFormats { get; set; }
Property Value
String
PreviewTemplate = "Usage: {0}", PreviewValueFormats = [ "Code:{0}" ], PreviewUnsetTexts = [ "Nothing" ]
=> If source value is undefined, produces: "Usage: Nothing".
=> If source value is "foo", produces: "Usage: Code: foo"