Dart.PowerWEB.TextBox Namespace > HtmlBoxDialog Class : Strings Property (HtmlBoxDialog) |
Gets or sets a collection of strings used in the dialog.
[Visual Basic]
<DefaultValueAttribute()>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Dart.PowerWEB.TextBox.StringsCollection, Dart.PowerWEB.TextBox, Version=3.1.7.2300, Culture=neutral, PublicKeyToken=5966291b8955e4bb")>
<DescriptionAttribute("Gets or sets the string values used for dialog windows.")>
<CategoryAttribute("Behavior")>
<TypeConverterAttribute("Dart.PowerWEB.TextBox.StringValueCollectionConverter, Dart.PowerWEB.TextBox, Version=3.1.7.2300, Culture=neutral, PublicKeyToken=5966291b8955e4bb")>
Public Property Strings As StringValueCollection
[C#]
[DefaultValueAttribute()]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Dart.PowerWEB.TextBox.StringsCollection, Dart.PowerWEB.TextBox, Version=3.1.7.2300, Culture=neutral, PublicKeyToken=5966291b8955e4bb")]
[DescriptionAttribute("Gets or sets the string values used for dialog windows.")]
[CategoryAttribute("Behavior")]
[TypeConverterAttribute("Dart.PowerWEB.TextBox.StringValueCollectionConverter, Dart.PowerWEB.TextBox, Version=3.1.7.2300, Culture=neutral, PublicKeyToken=5966291b8955e4bb")]
public StringValueCollection Strings {get; set;}
[C++]
[DefaultValueAttribute()]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Dart.PowerWEB.TextBox.StringsCollection, Dart.PowerWEB.TextBox, Version=3.1.7.2300, Culture=neutral, PublicKeyToken=5966291b8955e4bb")]
[DescriptionAttribute("Gets or sets the string values used for dialog windows.")]
[CategoryAttribute("Behavior")]
[TypeConverterAttribute("Dart.PowerWEB.TextBox.StringValueCollectionConverter, Dart.PowerWEB.TextBox, Version=3.1.7.2300, Culture=neutral, PublicKeyToken=5966291b8955e4bb")]
public: __property StringValueCollection* get_Strings();
public: __property void set_Strings(
StringValueCollection* value
);
[C++/CLI]
[DefaultValueAttribute()]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Dart.PowerWEB.TextBox.StringsCollection, Dart.PowerWEB.TextBox, Version=3.1.7.2300, Culture=neutral, PublicKeyToken=5966291b8955e4bb")]
[DescriptionAttribute("Gets or sets the string values used for dialog windows.")]
[CategoryAttribute("Behavior")]
[TypeConverterAttribute("Dart.PowerWEB.TextBox.StringValueCollectionConverter, Dart.PowerWEB.TextBox, Version=3.1.7.2300, Culture=neutral, PublicKeyToken=5966291b8955e4bb")]
public:
property StringValueCollection^ Strings {
StringValueCollection^ get();
void set (StringValueCollection^ value);
}
A StringValueCollection collection representing the strings to be used in the dialog.
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:
This is especially useful in scenarios where you need to localize the HtmlBox to a non-English language. See the topic Localizing the HtmlBox for more information and for a list of keys used for each Strings collection associated with each predefined dialog.
Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista
HtmlBoxDialog Class | HtmlBoxDialog Members
Send comments on this topic.
Documentation version 3.2.0.0.
© 2009 Dart Communications. All rights reserved.