Adding text to a DataWindow object

When DataWindow Designer generates a basic DataWindow object from a presentation style and data source, it places columns and their headings in the DataWindow painter. You can add text anywhere you want to make the DataWindow object easier to understand.

StepsTo add text to a DataWindow object:

  1. Select Text from the DataWindow Painter section of the Visual Studio toolbox.

  2. Click where you want the text.

    DataWindow Designer places the text control in the Design view and displays the word text.

  3. Type the text you want in the General category in the Properties window.

  4. (Optional) Change the font, size, style, and alignment for the text in the Appearance category in the Properties window.

NoteDisplaying an ampersand character If you want to display an ampersand character, type a double ampersand in the Text field. A single ampersand causes the next character to display with an underscore because it is used to indicate accelerator keys.