WPF Exclusive mode
Is it possible to run a WPF application in exclusive mode - where it owns the entire screen? I want to do full screen video playback. ...
Is it possible to run a WPF application in exclusive mode - where it owns the entire screen? I want to do full screen video playback. ...
I want to have in my GUI capability for scale, rotate and crop images permanently (saving into the file the changes). WPF is natively capable of it? If it isn't, is there any component that can work more integrated with WPF? I also need to adjust image brightness and contrast, remove borders, for JPEG and TIFF formats. ...
I have created a very simple test app to try and solve this problem described to me by a co-worker. He was able to trigger it in C#, but I believe he needed the solution to be more generic and wanted it to be done strictly in the XAML. The problem was: How do you trigger the Storyboard inside of a UserControl to begin in response to an...
Hello I have this kind of code in some applications (from microsoft) [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "CounterClockwise", Scope = "member", Target = "ScePhotoViewer.PhotoDisplayControl.#RotatePhotoCounterClockwiseComma...
I have a window that displays different Pages. Each page has one or more Context menus. I would like main window to display these context menues in the main app menu. So, if one page listview with context menu that has Delete and Copy, main app menu should have menu "Commands" with commands Delete and Copy. When page changes, Commands me...
Which naming convention do you use and why? I like to use employeeNameTextBox, because: It seems more natural from an English language perspective. I find it's easier to look up with Intellisense. The convention is similar to the convention used for events (MouseClickEvent, MouseClickEventHandler) and dependency properties (VisiblityP...
I'm reading a lot about good and bad practices in OOP design. It's nice to know your design is bad, or good. But how do you get from bad to good design? I've split the interface (xaml) and codebehind from the main businesslogic class. That last class is growing big. I've tried splitting it up into smaller classes, but I'm stuck now. Any...
I am trying create a WCF service that leverages the WPF MediaPlayer on the server to generate thumbnails for a video that a user uploads. I found a lot oif info on how to render a frame and save it to a file. But the problem is the key event MediaOpened (actually none of the events) I need to tie into doesn't - EDIT fire. Does anyone kn...
Hi. I can't find newer Microsoft Blend Preview. Is it available? Thank you for your answers. ...
My situation is roughly similar to this guy except that I don't need change notifications right now I have a WPF App displaying a hierarchy. The children for each node are retrieved using a LinqToSql query. The app works perfectly when there is one thread. Now I'd like to make things a bit faster.. by loading children asynchronously. F...
WPF vs WinForms. What do you think about the future of the Windows Forms platform? ...
I have an image and i want to set its hex data as the data for the Path object in a button in XAML. Is there a tool that will get me the Hex data for this purpose? ...
I wanted to play around with some 3D controls in WPF, but was mildly surprised to find that there were no primitive solid controls in WPF - I just wanted to plop a few spheres and cubes in a scene, but didn't realize I had to render them using meshes. Surely someone has created libraries of 3d primitives that can be added to WPF 3D scen...
As I am a programmer,and not an artist or animator and I am failing at showing off the best features of WPF in my application. Although I have samples for simple animations for buttons like growing, or having the color fade into something brighter on click but what I am looking for is some showcase button animations and some showcase pa...
how would I manage pixel-by-pixel rendering in WPF (like, say, for a raytracer)? My initial guess was to create a BitmapImage, modify the buffer, and display that in an Image control, but I couldn't figure out how to create one (the create method requires a block of unmanaged memory) ...
The Asp.Net membership provider has some clear uses in a web app. I am thinking about trying to leverage some of the features in a windows application (more specifically WPF). Does anyone know if it is possible to use the core features in a windows app? I am mostly just looking for it to create my database tables, and maintain users, ...
I am binding an Image.Source property to the result of the property shown below. public BitmapSource MyImageSource { get { BitmapSource source = null; PngBitmapDecoder decoder; using (var stream = new FileStream(@"C:\Temp\logo.png", FileMode.Open, FileAccess.Read, FileShare.Read)) { decoder = new PngBitmapDecod...
I am writing a fairly simple WPF desktop application and under build\configuration manager, release is not an option. The only available options are Debug, New, and Edit. Anyone have an idea on why this is? Related: the control library in the same solution does have release as a build option. It is only missing in the wpf app. ...
Is there any way to broadcast a RoutedEvent to all of my children in WPF? For example lets say I have a Window that has 4 children. 2 of them know about the RoutedEvent 'DisplayYourself' and are listening for it. How can I raise this event from the window and have it sent to all children? I looked at RoutingStrategy and Bubble is the ...
My main window has spawned a child window that's positioned on top to look like part of the main. I would like to move the child window in sync with the main but I'm not sure how. My main window has my own title bar which event MouseLeftButtonDown calls this function: public void DragWindow(object sender, MouseButtonEventArgs args) {...