I'm trying to get Windows 8 (Metro UI) style tab controls in my application, similar to this. However, the code listed only seems to work in Silverlight. I'm using WPF. Is there any easy way to at least get similar styling? I can do without fancy transitions, but ...
I have a requirement of disabling a perticular cell in a row, depending on values in other cells of the same row. WPF or WPF MVVM scenarios, both solutions are welcome. I tried both and none works!!! ...
I have a media player in WPF that was previously using the MediaElement control to show video. But on XP it did not show some HD videos. Following this thread's advice I started using the WPFMediaKit library's MediaUriElement instead. Now I can get the HD videos to play, but ...
I have a ViewModel class that I use with WPF and MVVM: public class ViewModel { /* Other members here... */ public ReadOnlyObservableCollection<BackplaneViewModel> Backplanes { get { return _Backplanes; } } public ...
I have a WPF application in which I want to bind dynamic collections of data in grids. To give a better perspective, I use a loop as below: foreach (Case x in Cases) { Collection c = GetDataFor(x); Create a dynamic datagrid; Bind the contents c to the datagrid; } This ...
I need a way to access the ContentPresenter/ItemsPresenter from a control if it does exist. I can't figure out how to easily do this with VisualTreeHelper. Will I need to recursively search all children? ...
Currently I'm using only ResourceDicitionaries to support different languages in my application. Just like this: <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:system="clr-namespace:System;assembly=mscorlib"> ...
I have an application, and I have an assembly. In the application, I have a window, and in the assembly I have a user control. There is an instance of the user control in the window. Both the user control and the window are backed by separate viewmodels. In the user control, there is ...
I'm using WPF in an Azure Worker Role to composite several images into a single image and save to disk. Everything runs fine in the emulator, but when I deploy to Azure the areas where I expect to see scaled/resized images are completely black. I packaged the code into a console ...
I apologize in advance for possible confusion (I'm a beginner). I have the following entity scenario: Main Entity: Girl where each girl is associated with many attributes in the Attributes entity. Attribute Entity has properties: -attributeID ...
In the Windows WPF, I have two text field bound to database table column, I have a 'SAVE' button. In this button event, how to save these two fileds value into database ? Thanks ...
I have a WPF project where I maintain video ratio, by placing video control inside a ViewBox. The video control is a WinForms object wrapped inside a WindowsFormsHost. I also added a gridSplitter to resize the ViewBox. It all worked great, until I noticed a strange bug. ...
I'm trying to run a look to update CPU Usage onto a progress bar from a thread. The code I have here is: private static int _cpuUsage; protected PerformanceCounter cpuCounter; private Thread thread; public CPUUsageIndModel() { cpuCounter ...
I have a WPF TabControl with two TabItems. In both tabItems I have a textbox with the Text property bound to a property in my ViewModel. The problem is that the binding in the second tab (the one "hidden" by the first tab) is not working. I have two cases: I ...
Just starting out with Prism and relying on the MSDN documentation to teach me - there's paragraphs in particular that confuse me right now, on the subject of Modules "After a module is loaded and initialized, the module assembly cannot be unloaded because the module instance reference will not be held ...
I write a project in WPF and I have a problem with columns. How can I get ValueType property from DataGridTextColumn? ...
I am working on a WPF project where I have to import data from a lot of single files. The actual importing of those files and the data in them is being done in a backgroundworker doWork method. It works like a charm, does the job and updating a progress bar also ...
I was wondering if this is possible? It seems like a WPF application must have one and only one MainWindow, which is the window for the application. If I create other windows and show them, will they show up as separate items in the taskbar like MS Word? ...