Show / Hide Table of Contents

Class LoginDialogArgs

LoginDialog Argument class that holds all needed information to display the login dialog.

Inheritance
System.Object
DialogArgs
LoginDialogArgs
DialogArgs.DefaultButton
DialogArgs.Header
DialogArgs.Title
DialogArgs.OnCloseParent
DialogArgs.ShowHelp
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public class LoginDialogArgs : DialogArgs

Constructors

View Source

LoginDialogArgs()

Initializes a new instance of the LoginDialogArgs class.

Declaration
public LoginDialogArgs()
View Source

LoginDialogArgs(String)

Initializes a new instance of the LoginDialogArgs class.

Declaration
public LoginDialogArgs(string loginInfoText)
Parameters
Type Name Description
System.String loginInfoText

The login info text.

Properties

View Source

CancelButtonCaption

Gets or sets the cancel button caption, if null or empty, default text will be used.

Declaration
public string CancelButtonCaption { get; set; }
Property Value
Type Description
System.String

The cancel button caption.

View Source

CancelButtonTooltip

Gets or sets the cancel button tooltip, if null or empty, default text will be used.

Declaration
public string CancelButtonTooltip { get; set; }
Property Value
Type Description
System.String

The cancel button tooltip.

View Source

Image

Gets or sets the image for the dialog, if null, default text will be used.

Declaration
public object Image { get; set; }
Property Value
Type Description
System.Object

The image.

View Source

IsLocked

Indicates that the application is locked

Declaration
public bool IsLocked { get; set; }
Property Value
Type Description
System.Boolean
View Source

LoginButtonCaption

Gets or sets the login button caption, if null or empty, default text will be used.

Declaration
public string LoginButtonCaption { get; set; }
Property Value
Type Description
System.String

The login button caption.

View Source

LoginButtonTooltip

Gets or sets the login button tooltip, if null or empty, default text will be used.

Declaration
public string LoginButtonTooltip { get; set; }
Property Value
Type Description
System.String

The login button tooltip.

View Source

LoginDialogInfoText

Gets or sets the login dialog info text, if null or empty, default text will be used.

Declaration
public string LoginDialogInfoText { get; set; }
Property Value
Type Description
System.String

The login dialog info text.

View Source

OnCancel

The Action that is invoked when the user clicks the cancel button.

Declaration
public Action OnCancel { get; set; }
Property Value
Type Description
System.Action
View Source

OnLoginFailed

The Action that is invoked when the login fails.

Declaration
public Action OnLoginFailed { get; set; }
Property Value
Type Description
System.Action
View Source

OnLoginOK

The Action that is invoked when the user clicks the OK button.

Declaration
public Action<IPrincipal> OnLoginOK { get; set; }
Property Value
Type Description
System.Action<System.Security.Principal.IPrincipal>
View Source

Password

Gets or sets the password.

Declaration
public string Password { get; set; }
Property Value
Type Description
System.String

The password.

View Source

PasswordMinLen

Gets or sets a value indicating min length of the password.

Declaration
public int PasswordMinLen { get; set; }
Property Value
Type Description
System.Int32
View Source

Responsibility

Defines the dialogs responsibility.

Declaration
public LoginDialogResponsibility Responsibility { get; set; }
Property Value
Type Description
Sartorius.SAF.Presentation.Controls.LoginDialog.LoginDialogResponsibility
View Source

ShowCloseWhenLocked

Indicates the user can cancel when application is locked.

Declaration
public bool ShowCloseWhenLocked { get; set; }
Property Value
Type Description
System.Boolean
View Source

ShowInTaskbar

Gets or sets a value indicating whether the dialog is show in the taskbar.

Declaration
public bool? ShowInTaskbar { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

true if the dialog is show in taskbar; otherwise, false.

Remarks

If not set then the about dialog is not displayed in the taskbar (unless it has no owner).

View Source

UserName

Gets or sets the name of the user.

Declaration
public string UserName { get; set; }
Property Value
Type Description
System.String

The name of the user.

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX