Click or drag to resize

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.Configuration
Assembly:  MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 2.2.0.9
Syntax
C#
public string[] PreviewValueFormats { get; set; }

Property Value

Type: String
Examples
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"
See Also