Possible Duplicate:
Components Inside Textbox/RichTextbox in DotNet
I have a textbox inside of my RichTextbox control. (The texboxt contains certain expressions that cannot otherwise be done in richtextbox itself.) I am having trouble focusing/navigating into the element when the caret is adjacent to the object. The caret is just skipping over the object. Is there any way to notice the object and focus on to it (in this case focus into the textbox)?
Actually, I should be more specific, the ‘textbox’ is actually a UserControl that can contain multiple texboxes and other symbols so it’s not just a simple wpf ‘textbox’. But essentially it behaves like a textbox.
Thanks.
<RichTextBox Name="rtb" Grid.Row="1" >
<ed:EnabledFlowDoc x:Name="efdMath" TextBlock.BaselineOffset="-10"
FontFamily="Palatino Linotype">
<Paragraph TextBlock.BaselineOffset="10" TextInput="Paragraph_TextInput_1">
Text . . .
<InlineUIContainer BaselineAlignment="Center">
<TextBox />
</InlineUIContainer>
<InlineUIContainer BaselineAlignment="Center">
<TextBox />
</InlineUIContainer>
</Paragraph>
</ed:EnabledFlowDoc>
</RichTextBox>
The function I was looking for is this . . .
for more information, look at my newer post since i cannot delete this old post . . .
Components Inside Textbox/RichTextbox in DotNet