Skip to main content
.NET 6.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