Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

StepProgressBar.CustomDrawItemContentBlock Event

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: 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