inlineuicontainer

How can I copy WPF FlowDocument InlineUIContainer contents?

I have a WPF FlowDocument that has a few InlineUIContainers, these are simple InlineUIContainers, that contain a styled button with some text in the Button.Content. When I copy the text and InlineUIContainer containing the button from the FlowDocument to a TextBox, the button is not copied. It is possible to somehow convert the inline ...

Problem with InlineUIContainer

I have an Windows.Documents.InlineUIContainerin a RichTextBox, and sometimes it's font size of alignment change when I hit key combination such as Ctrl+Space. I couldn't find any place to handle these events and block them somehow. I don't want to block it in the RichTextBox. I am more looking for a way to block it only on the InlineUICo...

Prevent delete/backspace of InlineUIContainers in RichTextBox (WPF)

I have a RichTextBox that allows the user to type and edit and insert some complex UIElements that are wrapped in InlineUIContainer. The problem is when the user tries to delete/backspace one of the InlineUIContainers. I would like to disable deleting of these InlineUIContainers and I have another way for the user to delete them. I ...

InlineUIElement not respecting clipping area of TextBlock

Hi. I have a TextBlock that contains some text in some Run elements, and which is set to CharacterEllipsis textclipping mode. However I also have a few InlineUIElements that contains some custom buttons. The problem is the buttons are showing up outside of the bounds of the TextBlock when they should be "clipped". Am I missing some exp...

Receiving EditingCommands on derived InlineUIContainer

I have a class that derives from InlineUIContainer. I want to take an action when an editing command (like ToggleBold) is performed on a FlowDocument selection that includes an instance of this class. I've tried registering for this command but it isn't raised. I've tried overriding OnPropertyChanded, but it is only called on explicit...