Skip to main content
All docs
V23.2

StepProgressBar.CustomDrawItemContentBlock Event

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v23.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