The string resources below are available to localize or customize built-in strings utilized by user prompt. Each string resource is defined in a specific assembly and corresponding namespace.
See the Customizing String Resources topic for additional details.
Customize String Resources
The following string resources are available to localize or customize built-in strings:
Resource key | Description |
---|---|
UICommandCloseWindowText |
The text displayed as the tooltip for the Close button used by User"Close" . |
UIDialogButtonAbortText |
The label of the standard Abort button. The default value is "_Abort" . |
UIDialogButtonCancelText |
The label of the standard Cancel button. The default value is "Cancel" . |
UIDialogButtonCloseText |
The label of the standard Close button. The default value is "C_lose" . |
UIDialogButtonHelpText |
The label of the standard Help button. The default value is "Help" . |
UIDialogButtonIgnoreText |
The label of the standard Ignore button. The default value is "_Ignore" . |
UIDialogButtonNoText |
The label of the standard No button. The default value is "_No" . |
UIDialogButtonOKText |
The label of the standard OK button. The default value is "OK" . |
UIDialogButtonRetryText |
The label of the standard Retry button. The default value is "_Retry" . |
UIDialogButtonYesText |
The label of the standard Yes button. The default value is "_Yes" . |
UIDialogTitleErrorText |
The default title used by User"Error" . |
UIDialogTitleIndeterminateText |
The default title used by UserString.Empty . |
UIDialogTitleInformationText |
The default title used by User"Information" . |
UIDialogTitleQuestionText |
The default title used by User"Question" . |
UIDialogTitleWarningText |
The default title used by User"Warning" . |
UIExceptionPromptCopyElementText |
The label of the UIElement displayed on the exception prompt to copy the stack trace. The default value is "Copy to Clipboard" . |
UIExceptionPromptDetailsLabelText |
The text of the label displayed on the exception prompt above the stack trace details. The default value is "_Stack Trace:" . |
UIExceptionPromptToggleDetailsCollapsedText |
The text of the expanded information toggle on the exception prompt when the stack trace is collapsed. The default value is "Show _details" . |
UIExceptionPromptToggleDetailsExpandedText |
The text of the expanded information toggle on the exception prompt when the stack trace is expanded. The default value is "Hide _details" . |
This code shows how to set custom values for string resources.