WindowConfig
Configuration for a ReCaptcha window.
Type: Class 
Namespace: ReCaptcha.Desktop.WPF.Configuration
Assembly: ReCaptcha.Desktop.WPF
public class WindowConfig
Constructors
Creates a new WindowConfig.
public WindowConfig(
    string title,
    ImageSource icon = default!,
    Window? owner = null,
    bool showAsDialog = false,
    WindowStartupLocation startupLocation = WindowStartupLocation.CenterScreen,
    int left = 0,
    int top = 0)
| Parameter | Description | 
|---|---|
| stringtitle | The title of the window. | 
| ImageSourceicon | The icon of the window. | 
| Window?owner | The owner of this window. (Only used for StartupLocation.CenterOwner). | 
| boolshowAsDialog | Wether to block the UI thread when showing the window. | 
| WindowStartupLocationstartupLocation | The startup postion of the window. | 
| intleft | The left position of the window. | 
| inttop | The top position of the window. | 
Properties
Title
The title of the window.
Type: string
Modifier: none 
Default Value: none
Icon
The icon of the window.
Type: ImageSource
Modifier: none 
Default Value: default!
Owner
The owner of this window. (Only used for StartupLocation.CenterOwner).
Type: Window?
Modifier: none 
Default Value: null
ShowAsDialog
Wether to block the UI thread when showing the window.
Type: bool
Modifier: none 
Default Value: false
StartupLocation
The startup postion of the window.
Type: WindowStartupLocation
Modifier: none 
Default Value: WindowStartupLocation.CenterScreen
Left
The left position of the window.
Type: int
Modifier: none 
Default Value: 0
Top
The top position of the window.
Type: int
Modifier: none 
Default Value: 0