Skip to main content

CaptchaSettings.ChallengeImageCustomRender Property

Enables you to implement custom logic for rendering a Captcha’s challenge image.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public ChallengeImageCustomRenderEventHandler ChallengeImageCustomRender { get; set; }

Property Value

Type Description
ChallengeImageCustomRenderEventHandler

A ChallengeImageCustomRenderEventHandler delegate method allowing you to implement custom logic for rendering a Captcha’s challenge image.

Remarks

The ChallengeImageCustomRender event occurs before each render of the challenge image.

The parameters of the event argument allow you to obtain the generated code (ChallengeImageCustomRenderEventArgs.Code) and draw a custom image (ChallengeImageCustomRenderEventArgs.Image).

See Also