Reflector (Silverlight Only) > Task-Based Help > Adding Simple Text Content to the Reflector |
You can add simple text to the C1Reflector control by setting the Content property to a string. Once the text is added, you will see the text and its reflection and the C1Reflector control.
At Design Time in Blend
To add simple text to the control, complete the following steps:
In XAML
To add simple text to the control, add Content ="Hello World" to the <c1ext:C1Reflector> tag so that the markup resembles the following:
XAML |
Copy Code
|
---|---|
<c1ext:C1Reflector Content="Hello World!">
|
In Code
To add simple text to the control, complete the following steps:
Visual Basic Copy CodeC1Reflector1.Content = "Hello World!"
C# Copy CodeC1Reflector1.Content = "Hello World!";
This Topic Illustrates the Following:
The result of this topic will resemble the following image: