Esempio n. 1
0
        /// <summary>
        ///
        /// Fuchsia Internal API. Creates a Fuchsia Textbox containing a parsed mXAML document. Another overload returns a string list.
        ///
        /// </summary>
        /// <param name="FDocumentToParse">The document to parse.</param>
        /// <returns>A FTextBox containing the parsed text.</returns>
        public RichTextBox FParseDocument(IFDocument FDocumentToParse)
        {
            XmlNode     FPageContent  = FDocumentToParse.DocumentXML.FirstChild;
            RichTextBox _textbox_temp = new RichTextBox();

            _textbox_temp.Document   = new FlowDocument();
            _textbox_temp.IsReadOnly = true;

            _textbox_temp = FMXamlReader.FReadMXamlXml(FPageContent, _textbox_temp);

            return(_textbox_temp);
        }
Esempio n. 2
0
 public FInfoEngine()
 {
     FMXamlReader = new FMXamlReader();
 }