User Interface / Widgets / Text / Text Widgets Overview
In This Topic
    Text Widgets Overview
    In This Topic

    Text widgets are used to display text. NOV implements the two most commonly used widgets - label and text box.

    Label - the label is a lightweight widget that is used to display non editable text with controllable font, text wrapping etc. 

    TextBox - the text box allows for text input with controllable font, selection, scrolling, multiple lines etc.

    Both widgets inherit indirectly from the NBoxElement which supports settings for Font and Font style. The following code snippets show how to change the font settings of a text box or label:

    Setting Font
    Copy Code
    textWidget.Font = new NFont("Arial", 13, ENFontStyle.Bold); 
    

    The following topics discuss the properties of the label and text box widgets implemented in NOV.

    See Also