ComponentOne Dialog for ASP.NET Web Forms
Task-Based Help / Customizing the C1Dialog Control / Customizing the Font Style
In This Topic
    Customizing the Font Style
    In This Topic

    This topic will walk you through customizing the font style of your Dialog window in Design View and in Source View.

    In Design View

    Complete the following steps:

    1. Select your C1Dialog control.
    2. Go to the Font drop-down list in the Visual Studio toolbar.
    3. Choose a font from the list. For this topic, choose Blackadder ITC.
    4. Type or paste text into your C1Dialog control Content Area.
    5. Press F5 or start debugging to run your program. The text in your Dialog window will appear in the font you chose.

    In Source View

    Complete the following steps:

    1. Go to the Source View of your project.
    2. Find the <cc1:C1Dialog> tags. Add the following markup and <Content> tags to the <cc1:C1Dialog> tag:

      To write code in Source View

      Style="font-family:Blackadder ITC"
      
                    
      <Content> </Content>
       
      
    3. Type or paste your content between the <Content> tags.
    4. Press F5 or start debugging to run your program. Your text will appear in the Dialog window in the font you chose.