Skip to main content
A newer version of this page is available. .
All docs
V21.2

StepProgressBar.CustomDrawItemContentBlock Event

Allows you to custom draw an item’s content blocks.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation

Declaration

[DXCategory("CustomDraw")]
public event StepProgressBarItemContentBlockCustomDrawEventHandler CustomDrawItemContentBlock

Event Data

The CustomDrawItemContentBlock event's data class is DevExpress.XtraEditors.Drawing.StepProgressBarItemContentBlockCustomDrawEventArgs.

Remarks

The CustomDrawItemContentBlock event allows you to custom draw an item’s content blocks. The Handled event argument should be set to true for the event handler to be in effect.

The following methods renders the default content block components:

  • DefaultDraw() - Draws the entire content block.
  • DefaultDrawCaption() - Renders the content block’s caption.
  • DefaultDrawDescription() - Renders the content block’s description.
  • DefaultDrawImage() - Draws the content block’s image.
See Also