You can add a background image to the C1TopicBar control using the BackgroundImage property. In this topic, you will learn to set this property using the Properties window and code.
Complete the following steps:
Your background image is added to the C1TopicBar control.
Complete the following steps:
To write code in Visual Basic
Visual Basic |
Copy Code
|
---|---|
c1TopicBar1.BackgroundImage = System.Drawing.Image.FromFile(“C:\YourImage.jpg”) |
To write code in C#
C# |
Copy Code
|
---|---|
c1TopicBar1.BackgroundImage = System.Drawing.Image.FromFile(@”C:\YourImage.jpg”); |
In this topic, you learned how to add a background image using the Properties window and code. The following image depicts a C1TopicBar control with a custom background image.