Hi:
We can use Expression Blend to do this. Let's do it step by step:
1. Open Expression Blend, create new Silverlight 2 project.
2. Add a Canvas.<Canvas Width="200" Height="200"></Canvas>
3.Add a Rectangle and a TextBox in this Canvas:
<Canvas Width="200" Height="200">
<Rectangle Height="200" Width="200" Fill="#FF0A0A0A" Stroke="#FF000000"/>
<TextBox Height="81" Width="150" Canvas.Left="33" Canvas.Top="41" Text="TextBox" FontSize="36"/>
</Canvas>
4. Select the TextBox. Click Object->Path->Convert to Path. Convert it to Path.
5. Select both the Rectangle and the TextBox. Note select the TextBox first then select the Rectangle. Click Object->Combine->Subtract.
Regards
Sincerely,
Allen Chen
Microsoft Online Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.