i want to draw/add an image as a part of text in textbox in windows phone 7. I m not using Expression blend.

So where i can find the drawing objects as well as paint events in silverlight?
['https://Stackoverflow.com/questions/5713437', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/665983/']
There is no way to add an image as part of a TextBox. Although I'm not entirely sure what you want to achieve.

Do you really mean TextBox? If so, the only option will be to restyle it so it have the image included as well.

Do you mean TextBlock? If so, and you're trying to include an image part way through a piece of text, you can wrap the image and the text either side of it in a WrapPanel.
You might want to override the template in order to define your own template. You can do this in the style:

```
 <Style x:Key="textboxImage" TargetType="TextBox">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="TextBox">
                    <Grid>
                        <Grid.Background>
                            <ImageBrush ImageSource="ApplicationIcon.png" />
                        </Grid.Background>
                        <ContentControl x:Name="ContentElement" Foreground="{TemplateBinding Foreground}"  Margin="{TemplateBinding Margin}" Padding="{TemplateBinding Padding}" VerticalContentAlignment="Stretch"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

```

You just need to set the style of your textbox to StaticResources textboxImage.

I just tested and it works fine.