.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ObjectFormatter Events

Represents a string formatter. Exposes the static helper ObjectFormatter.Format method that replaces format items in the specified string with the property values of the specified object.
Name Description
CustomFormatObject static Occurs when the ObjectFormatter.Format method is called. Allows you to perform the custom processing of the string passed to the Format method.
CustomGetValue static Occurs when the ObjectFormatter.Format method processes a format item. Allows you to provide a custom value that will replace the format item in the resulting string.
See Also