Which properties should you use?

DRAG DROP
You are developing a Windows Store app that uses a CredentialPicker control to collect the
user’s user name and password credentials.
The CredentialPicker control has the following requirements:
The Remember my credentials check box must be selected by default.
The text “Enter user name and password” must be displayed in the message header of the
dialog box.
You need to ensure that the requirements are met.
Which properties should you use? (To answer, drag the appropriate properties to the correct
locations in the answer area. Each property may be used once, more than once, or not at all. You may need to drag the
split bar between panes or scroll to view content.)

DRAG DROP
You are developing a Windows Store app that uses a CredentialPicker control to collect the
user’s user name and password credentials.
The CredentialPicker control has the following requirements:
The Remember my credentials check box must be selected by default.
The text “Enter user name and password” must be displayed in the message header of the
dialog box.
You need to ensure that the requirements are met.
Which properties should you use? (To answer, drag the appropriate properties to the correct
locations in the answer area. Each property may be used once, more than once, or not at all. You may need to drag the
split bar between panes or scroll to view content.)

Answer:

Explanation:
The CredentialPickerOptions controls the appearance and behavior of a credential prompt.
Caption: Gets or sets the caption text that is displayed to the user.
CredentialSaveOption: Gets or sets the option on saving credentials..
The option specifies the initial state of the dialog’s “Save Credential” check box. The default
value is clear (unchecked).
Incorrect answers:
Message: Gets or sets the body of text that displays to the user.
CallerSavesCredential: Gets or sets whether the caller wants to save the credentials.
Reference: CredentialPickerOptions class (Windows)



Leave a Reply 0

Your email address will not be published. Required fields are marked *