private void OnWindowLoaded(object sender, RoutedEventArgs e) { // Retrieve the display pages... _svgPage = frameSvgInput.Content as SvgPage; _xamlPage = frameXamlOutput.Content as XamlPage; _debugPage = frameDebugging.Content as DebugPage; if (_svgPage != null && _xamlPage != null) { _svgPage.XamlPage = _xamlPage; } if (_debugPage != null) { if (!_debugPage.IsTraceStarted) { _debugPage.Startup(); } } }
public FileSvgReader(Color?overrideColor, XamlPage xamlPage) : this(xamlPage) { _overrideColor = overrideColor; }
public FileSvgReader(XamlPage xamlPage) { _xamlPage = xamlPage; }