private void LoadHtmlPlaceholder(object sender, System.Windows.RoutedEventArgs e) { this.window = new RadWindow(); RadHtmlPlaceholder htmlPlaceholder = new RadHtmlPlaceholder(); Uri uri = new Uri("http://www.bing.com", UriKind.RelativeOrAbsolute); htmlPlaceholder.SourceUrl = uri; this.window.Content = htmlPlaceholder; this.window.Width = 800; this.window.Height = 600; this.window.Top = 210; this.window.Left = 330; this.window.Show(); }
private void Example_Loaded(object sender, RoutedEventArgs e) { if (Application.Current.Host.Settings.Windowless) { this.window = new RadWindow(); RadHtmlPlaceholder htmlPlaceholder = new RadHtmlPlaceholder(); Uri uri = new Uri("http://www.bing.com", UriKind.RelativeOrAbsolute); htmlPlaceholder.SourceUrl = uri; this.window.Content = htmlPlaceholder; this.window.Width = 800; this.window.Height = 600; this.window.Top = 210; this.window.Left = 330; this.window.Show(); this.previewPanel.Visibility = System.Windows.Visibility.Collapsed; } }