The PaintHelper type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAlphaBlend(Color, Color)
Blends two colors.
Public methodStatic memberAlphaBlend(Appearance, Color)
Blends appearance background colors with alphaColor.
Public methodStatic memberAutoAlignment(Type)
Gets a default ContentAlignment for various data types.
Public methodStatic memberAutoAlignment(Nullable<(Of <<'(ContentAlignment>)>>), IDataField)
Gets a default ContentAlignment for the specified IDataField.
Public methodStatic memberContentToStringAlignment
Converts the ContentAlignment to the horizontal StringAlignment (to be passed into the Alignment property of the StringFormat object).
Public methodStatic memberContentToStringLineAlignment
Converts the ContentAlignment to the vertical StringAlignment (to be passed into the LineAlignment property of the StringFormat object).
Public methodStatic memberHierarchicalIndent
Measures the hierarchical indent (amount of space needed to show the row selector, hierarchical lines and expand/collapse buttons) on the left of Rows on the specified hierarchical level.
Public methodStatic memberImageMetrics
Measures size and location, needed to show the image in the rectangle with specified settings.
Public methodStatic memberMeasureHeaderCaptionIconBounds
Measures the bounds, needed to show the Image in the Column with specified ImageSettings.
Public methodStatic memberMeasureHeaderCaptionTextBounds
Measures the Column's bounds, remaining to show the text.
Public methodStatic memberTextAlignment

See Also