Hi,
I am trying to get the insert hyperlink dialog to show but I have so far been unsuccessful.
I have a button with a Datacontext set to the RichTextBox and have the following command binding for it :
Nothing was happening so I did a bit of digging in the API and found that the RichTextBox had an InsertHyperlinkDialog property that was null. So I created my own implementation of IInsertHyperlinkDialog and set the InsertHyperlinkDialog property to an instance of that dialog.
I have two issues. The first issue is that the dialog is still not showing. My second issue is that I do not know what the custom ShowDialog method is meant to do. It seems a little strange as it takes in the address and text beforehand...
How is one meant to implement these dialogs?
Thanks,
Stephen
I am trying to get the insert hyperlink dialog to show but I have so far been unsuccessful.
I have a button with a Datacontext set to the RichTextBox and have the following command binding for it :
Command
="{Binding Path=ShowInsertHyperlinkDialogCommand}"
Nothing was happening so I did a bit of digging in the API and found that the RichTextBox had an InsertHyperlinkDialog property that was null. So I created my own implementation of IInsertHyperlinkDialog and set the InsertHyperlinkDialog property to an instance of that dialog.
I have two issues. The first issue is that the dialog is still not showing. My second issue is that I do not know what the custom ShowDialog method is meant to do. It seems a little strange as it takes in the address and text beforehand...
How is one meant to implement these dialogs?
Thanks,
Stephen