Back to Devexpress

Captcha Visual Elements

aspnetmvc-15107-components-data-editors-extensions-captcha-visual-elements.md

latest3.3 KB
Original Source

Captcha Visual Elements

  • Feb 02, 2023

This topic describes the visual elements of the Captcha.

The following visual elements are available.

Refresh Button

The refresh button is used to refresh the code displayed within the challenge image. The table below lists the main members that affect the element’s appearance and functionality:

CharacteristicsMembers
SettingsCaptchaSettings.RefreshButton
StyleCaptchaStyles.RefreshButton (via CaptchaSettings .Styles.RefreshButton ), CaptchaStyles.DisabledRefreshButton (via CaptchaSettings .Styles.DisabledRefreshButton )
LocalizationASPxEditorsStringId.Captcha_RefreshText

Challenge Image

The challenge image is used to display the code in a Captcha. The table below lists the main members that affect the element’s appearance and functionality:

CharacteristicsMembers
AnimationCaptchaSettings.EnableCallbackAnimation
SettingsCaptchaSettings.ChallengeImage
LocalizationASPxEditorsStringId.Captcha_DefaultImageAlternateText

Text Box

The text box is used to enter the code displayed by the challenge image. The table below lists the main members that affect the element’s appearance and functionality:

CharacteristicsMembers
SettingsCaptchaSettings.TextBox
StyleCaptchaStyles.TextBox (via CaptchaSettings .Styles.TextBox ), CaptchaStyles.NullText (via CaptchaSettings .Styles.NullText )
LocalizationASPxEditorsStringId.Captcha_DefaultTextBoxLabelText

Loading Panel

The loading panel is displayed within the challenge image while the code is refreshing.

The table below lists the main members that affect the element’s appearance and functionality:

CharacteristicsMembers
SettingsCaptchaSettings.LoadingPanel
StyleCaptchaSettings.LoadingPanelStyle
ImageCaptchaSettings.LoadingPanelImage