CaptchaSettings.ChallengeImageCustomRender Property

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v20.2.dll

Declaration

public ChallengeImageCustomRenderEventHandler ChallengeImageCustomRender { get; set; }
Public Property ChallengeImageCustomRender As ChallengeImageCustomRenderEventHandler

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