Version

Strings Property (HtmlBoxDialog)

Gets or sets a collection of strings used in the dialog.
Syntax
'Declaration
 
Public Property Strings As StringValueCollection
public StringValueCollection Strings {get; set;}

Property Value

A StringValueCollection collection representing the strings to be used in the dialog.
Remarks

For predefined dialogs, this collection will contain a list of strings used within the dialog. For custom dialogs, this collection is not used. This collection is useful if you wish to modify the strings used within predefined dialogs. For example, if you would like to change the text on the "Cancel" button to say "Close", you could do the following:

            MyDialogButton.Dialog.Strings["Cancel"] = "Close";
            

This is especially useful in scenarios where you need to localize the WebHtmlEditor to a non-English language. See the topic Localizing the WebHtmlEditor for more information and for a list of keys used for each Strings collection associated with each predefined dialog.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also