ControlExtensionsGetFormatFlags Method
Gets the formatting flags for the text of a custom drawn control.
Namespace: KGySoft.WinFormsAssembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
public static TextFormatFlags GetFormatFlags(
this Control c
)
<ExtensionAttribute>
Public Shared Function GetFormatFlags (
c As Control
) As TextFormatFlags
public:
[ExtensionAttribute]
static TextFormatFlags GetFormatFlags(
Control^ c
)
[<ExtensionAttribute>]
static member GetFormatFlags :
c : Control -> TextFormatFlags
- c Control
- The control to draw its text.
TextFormatFlagsThe format flags for drawing the text of the control.In Visual Basic and C#, you can call this method as an instance method on any object of type
Control. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).