我可以在XAML/C#WinRT应用程序中使用RichEditBox而不是画布进行绘图吗

我可以在XAML/C#WinRT应用程序中使用RichEditBox而不是画布进行绘图吗,c#,xaml,drawing,microsoft-metro,windows-runtime,C#,Xaml,Drawing,Microsoft Metro,Windows Runtime,当前在WinRT画布中不支持渲染到图像。而且它也不支持在上面写文本。那么我可以用RichEditBox代替canvas吗?因为RichEditBox可能包含绘图组件、富文本,然后我可以保存它 我已经提出了申请。所以我想提高它,所以我要求 我试过了,但也不起作用 <RichEditBox AcceptsReturn="True" x:Name="rbtMyRichTextBox"> <Paragraph> <InlineUIContainer&

当前在WinRT画布中不支持渲染到图像。而且它也不支持在上面写文本。那么我可以用RichEditBox代替canvas吗?因为RichEditBox可能包含绘图组件、富文本,然后我可以保存它

我已经提出了申请。所以我想提高它,所以我要求

我试过了,但也不起作用

<RichEditBox AcceptsReturn="True" x:Name="rbtMyRichTextBox">
    <Paragraph>
        <InlineUIContainer>
            <Rectangle Width="100" Height="100" Fill="Black"/>
        </InlineUIContainer>
    </Paragraph>
</RichEditBox>

如果可以将文本转换为像素,则可以使用for Metro。允许用户输入文本,并将textblock渲染到WriteableBitmap

不幸的是

RichEditBox中的矩形不是XAML矩形,而是RTF矩形。搜索矩形

Cannot add content to an object of type "RichEditBox".