Implements customizable formatting of the Value property.
Object
MarshalByRefObject
MarshalByRefComponent
Control
RichControl
FormatControl
[Visual Basic] Public Class FormatControl Inherits RichControl [C#] public class FormatControl : RichControl [C++] public __gc class FormatControl : public RichControl [JScript] public class FormatControl extends RichControl
This class extends RichControl and adds a Value property which represents an object value for the control. It also adds a Format property which controls how the Value gets converted to/from the standard Text display, as well as it's Font, BackColor, and FOreCOlor. This allows you to display negative numbers as red and within parentheses, for example.
Namespace: System.WinForms
Assembly: System.WinForms.dll