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:
- Select your C1Dialog control.
- Go to the Font drop-down list in the Visual Studio toolbar.
- Choose a font from the list. For this topic, choose Blackadder ITC.
- Type or paste text into your C1Dialog control Content Area.
- 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:
- Go to the Source View of your project.
- 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>
- Type or paste your content between the
<Content>
tags.
- Press F5 or start debugging to run your program. Your text will appear in the Dialog window in the font you chose.