ReCaptcha

ReCaptcha control that mimics the original Google reCAPTCHA widget.

Type: Class
Namespace: ReCaptcha.Desktop.WinUI.UI
Assembly: ReCaptcha.Desktop.winui
Inherits from: ContentControlopen in new window

public sealed class ReCaptcha : ContentControl

Constructors

Creates a new ReCaptcha control.

public ReCaptcha()

Properties

VerificationRequested

Fires when the user requests a verification.

Type: EventHandler?
Modifier: event
Default Value: none

VerificationRemoved

Fires when the user removes a verification or stops a verification request.

Type: EventHandler?
Modifier: event
Default Value: none

VerificationRequestedCommand

The command that gets executed when the user requests a verification.

Type: ICommand
Modifier: none
Default Value: none

VerificationRequestedCommandParameter

The command that gets executed when the user requests a verification.

Type: object
Modifier: none
Default Value: none

VerificationRemovedCommand

The command that gets executed when the user removes a verification or stops a verification request.

Type: ICommand
Modifier: none
Default Value: none

VerificationRemovedCommandParameter

The command that gets executed when the user removes a verification.

Type: object
Modifier: none
Default Value: none

Theme

The theme used by the ReCaptcha control.

Type: ITheme
Modifier: none
Default Value: ITheme.Light()

Icon

The icon source shown on the right side of the ReCaptcha control.

Type: ImageSource
Modifier: none
Default Value: new BitmapImage(new("ms-appx:///ReCaptcha.Desktop.WinUI/UI/Assets/Icon.png"))

Title

The title shown on the right side of the ReCaptcha control.

Type: string
Modifier: none
Default Value: "reCAPTCHA"

FirstUri

The uri thats gets opened in the default browser when clicked on the first hyperlink.

Type: Uri
Modifier: none
Default Value: "https://policies.google.com/privacy"

FirstUriText

The text of the first hyperlink.

Type: string
Modifier: none
Default Value: "Privacy"

SecondaryUri

The uri thats gets opened in the default browser when clicked on the second hyperlink.

Type: Uri
Modifier: none
Default Value: "https://policies.google.com/terms"

SecondaryUriText

The text of the secondary hyperlink.

Type: string
Modifier: none
Default Value: "Terms"

IsChecked

Wether the ReCaptcha control is checked, unchecked or loading.

Type: bool
Modifier: none
Default Value: false

IsLoading

Wether the ReCaptcha control shows loading.

Type: bool
Modifier: none
Default Value: false

ErrorMessage

The error message which gets displayed if not null.

Type: string?
Modifier: none
Default Value: null

The caching characteristics for the control involved in a navigation.

Type: NavigationCacheMode
Modifier: none
Default Value: NavigationCacheMode.Disabled