31 Commits

Author SHA1 Message Date
Alex Maitland 90c31b4490 WPF Example - Implement Material Design (#4446)
* WPF Example - Improve layout/design using MaterialDesignInXamlToolkit

- Some very basic UI improvements using MaterialDesignInXamlToolkit
2023-04-02 11:46:00 +10:00
Alex Maitland 842429a76e WPF Example - Implement DisplayHandler.OnFullscreenModeChange
- Use the new CefSharp.Handler.DisplayHandler base class
- Update xaml so ChromiumWebBrowser has direct reference to DataContext
- When fullscreen create new window and move the browser, move back when exit fullscreen
2021-05-16 16:28:29 +10:00
Alex Maitland a48cf807e6 WPF - Allow setting Focus before the underlying browser has been initialized.
- Remove hacks from the ViewModel as Focus can now be set on Go().
- Creating a new viewmodel also sets focus

Changing tabs doesn't set focus currently.
2021-05-10 15:39:32 +10:00
amaitland da8ad192a4 WPF - Add Experimental Accessibility Handler 2020-07-27 20:32:24 +10:00
Justin D'Arcangelo e834d89518 Fix Issue #2053 - Add accessibility support for WPF 2020-07-27 20:32:24 +10:00
amaitland 0d399e6fd4 WPF Example - Update EvaluateJavascriptTextBox to simple js example
Use 1 + 1 as a simple example

Objects aren't bound on the home page so the old script would fail to execute.
2020-04-29 08:07:33 +10:00
amaitland cb429ce9bf WPF - Improve ToolTip Text Wrapping
When no ToolTip style is defined we'll use a TextBlock to wrap the text so it's
usable by default. If a style is applied then we leave it up to user.

Resolves #2488
2020-04-08 16:43:47 +10:00
amaitland c7c98a4551 WPF Example - Readd EvaluateJavaScriptResult which was accidentally removed 2018-08-23 13:56:25 +10:00
amaitland 709645a195 WPF Example - Remove commented out context menu code
Left over from when the built in wasn't working (it still only works partially) due to https://github.com/cefsharp/CefSharp/issues/1767
Improve comments and add links to make clearer
2018-07-09 20:04:41 +10:00
amaitland cf04ab4b2e WPF - Add basic JavascriptBindingStressTest command
Loads JSB test page and then reloads every 10 seconds
2018-06-30 15:40:57 +10:00
Philip Beber b47731de5e Added DownloadItem .OriginalUrl (#1877)
* Added "OriginalUrl" property to DownloadItem which wraps "GetOriginalUrl" in CEF.

Added a sidebar to the example app which shows the DownloadItems as received by CefSharp.Core/Internals/TypeConversion.h

Added a View menu for hiding/showing the regular sidebar and the new download info sidebar.

* Pull request feedback
2016-12-04 22:26:49 +10:00
amaitland 84f7c5dc62 WPF - Hack together a slightly more complete context menu example 2016-02-10 09:57:41 +10:00
amaitland 5ebed6d26f Build complete BitmapScalingMode enum list using ObjectDataProvider 2015-12-28 21:56:42 +10:00
gayak 1f6dc69dee Add BitmapScalingMode demo.
Add BitmapScalingMode binding.
2015-12-28 21:33:14 +10:00
amaitland 9b5cb27fb0 Add DevTools commands to WPF Example 2015-08-30 19:22:17 +10:00
Bodekaer 3407a91d1d Added drag-drop support, to allow dragging files, text and links into the browser (WPF-only currently) 2015-01-07 16:10:56 +01:00
jornh cdae40c09c Fix commented out example code s/WebView/ChromiumWebBrowser/ 2014-12-18 00:38:13 +01:00
amaitland 8282586e86 Merge branch 'cef/2062' into cef/2062-jsb-wip 2014-11-03 18:38:51 +10:00
amaitland bf3e37bffa Self closing <MenuItem/> tags 2014-11-03 16:53:18 +10:00
Jamie Casterline 409d6037b4 Added commands for cut, copy, paste, select all, redo, and undo 2014-10-30 13:17:29 -04:00
amaitland 64ddad841c Update execute script example to be more complex 2014-09-17 10:30:35 +10:00
amaitland cdd8e661ff Change to javascript case 2014-08-28 20:40:21 +10:00
amaitland 024620cd78 Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP 2014-08-21 20:17:47 +10:00
Adrian Phinney 96bdad96d4 Add StatusMessage examples for WPF/WinForms. 2014-08-12 09:25:33 -04:00
Per Lundberg a3bbd6e1f0 Merge commit '36ed4dbdc0cf0cb0d6b294df9d81a6a4fb7c1646' into JsBinding_WIP. This was taking @JanEggers changes and merging them into my local branch.
Conflicts:
	CefSharp.Core/CefSharp.Core.vcxproj
	CefSharp.Wpf.Example/ViewModels/BrowserTabViewModel.cs
	CefSharp/Internals/IWebBrowserInternal.cs
2014-06-12 02:10:08 +03:00
Per Lundberg d662860344 Merge branch 'master' into JsBinding_WIP. This was a bit of work but not *that* hard after all. Let's see if it compiles also, but I'll keep any required changes for that in a changeset of its own (so that it's easier to follow for you guys).
Conflicts:
	CefSharp.Core/CefSharp.Core.vcxproj
	CefSharp/CefErrorCode.cs
	CefSharp/CefEventFlags.cs
	CefSharp/CefSettingsBase.cs
	CefSharp/Internals/IWebBrowserInternal.cs
2014-06-12 02:07:27 +03:00
JanEggers 36ed4dbdc0 implemented Property Getter / Setter 2014-06-07 09:52:45 +02:00
Per Lundberg 4b865946c3 Renamed the WPF control also, in line with how System.Windows.Controls.WebBrowser is actually named. 2014-06-02 13:00:03 -07:00
JanEggers db71d32881 Merge remote-tracking branch 'upstream/master' into JsBinding_WIP 2014-05-20 20:47:13 +02:00
amaitland 1fb6a37814 Remove ViewSourceCommand from ViewModel, instead using the newly implemented command on WebView instead 2014-04-30 23:33:41 +03:00
amaitland 9ab903f43c Namespace and folder cleanup
Create ViewModels namespace - move ViewModel and rename to BrowserTabViewModel
Move and rename MainView to BrowserTabView
2014-04-30 23:05:11 +03:00