I tried saving data from my rich text box using the TextRange to save in xamlpackage format, however my question is basic, what extension should the file have, if I use Xaml, the normal wpf xaml files would not be capable of opening as they are not xamlpackages, could you please tell me the proper extension for xamlpackage.
Thank you.
XAML files are extension independent.
Extension are used in VS to be associated with XAML designer, and XAML compiler (to compile it to BAML, and .cs files)
If you need to load/save XAML, you should look at XAMLReader, XAMLWriter class.
In XAMLReader, XAMLWriter you can specify file with any extension to load/save data in XAML format.