Custom RoutedEvent Issue
I have a hierarchical structure of UserControls that I need to have a custom RoutedEvent to work with. What I need is to be able to have a parameter bubble through the hierarchy of controls with...
View ArticleShowing a concrete value on WPF combobox?
After have populated one combo, I'd like to put a concrete value, after one assignation, how can I do that1)Filling with items newClient = New clsClientes() For Each dr As DataRow In...
View ArticleCopying one WPF combobox in another without iteration
hi all of you,Code-behind: Me.DatosPanel1.Items.Clear() newClient = New clsClientes() For Each dr As DataRow In newClient.DevuelveTablasPaneles().Rows...
View ArticleFolder dialog
Is it true, that wpf has no built in support to use the vista folder select dialog? (At least there is no such thing in the Microsoft.Win32 namespace with the other file dialogs.) If yes, why?Im...
View ArticleWhy Geometry intersection does not give the expected result with polylines...
I need to calculate the intersection between two geometries to check if one is fully inside the other or not. The Geometry "container", based on a `System.Windows.Shapes.Polygon`, is created as...
View ArticleData changes not persisting back to Entity Framework on an MVVM application
I'll post my code first, then ask my question. XAML:<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"...
View ArticleTreeListView with CellEditingTemplate
Hi I'm trying creating TreelistView(MultiColumn TreeView). reference : http://msdn.microsoft.com/en-us/library/vstudio/ms771523(v=vs.90).aspx This control extends the TreeView by using GrdiViewColumn...
View ArticleWPF - MediaElement.DownloadProgress inconsistency
Hi there,I've met a problem with my WPF application: while I'm streaming an MP4 file with the MediaElement control, the DownloadProgress property is returning 1 as soon as the video starts playing, and...
View ArticleHow to convert Brush to Hex
Hey all,I need to convert Brush to Hex code. I know the other way around - hex to brush with ColorConverter, but I don't know this. Please how can this be done? Thanks !Knowledge: C, C++, C#, Java, Pawn
View ArticleListView doesn't Filter after adding new Item to the list.
I'm creating an application that consists of multiple filters and a ListView which displays data from an Entity Framework database. Within my application, I get a strange behavior that occurs within...
View ArticleCan I move the legend outside of the Chart area c# wpf?
Is there any way to move chart legend of the Chart area? If solution exist, i need code behind. Thanks.
View ArticleIMultiValueConverter and IValueConverter Interface lagging (slowness)
Hi, I was using IMultiValueConverter in my project in which I will be doing some business calculations. for this I will be using the following. 1. An DataTable 2. An XML and, 3. Some coloring logic. I...
View ArticleWPFFontCache_v0400.exe Is Hogging CPU
Hello Sir, i have installed Visual Studio Beta 2 Ultimate on my system, Windows XP 32 Bit, 1 GB RAM, Intel Processor etc. the installation of beta 2 goes successfully. i can open the IDE Easily. but...
View ArticleRun Exe file as an Embedded Resource in C# on selected folder
How can i launch a embedded exe in selected folder in c# visual studio 2013? i used this code { byte[] exeBytes = Properties.Resources.OPKMR; string exeToRun = @"C:\TEST\MyTestExe.exe"; using...
View ArticleProgressBar on GridView at row level??
Hi, it is about a Telerik RadGridView. Yes,I've posted a thread on their forums but I don't still get a response and it is urgent. That's the XAML code for that but for GridView WPF 4.5 (VS...
View ArticleCommand Parameter needs to be turned into Enum
I am learning WPF and MVVM again. I have an application in which I pass a command with a parameter that as I understand can only be turned into a string? I need to somehow turn that string into an enum...
View ArticleBlocking all the WPF controls in XAML view
hi,something like.. when you used to use Visual Basic desktop project and blocked some or all the controls in a FormPrimary platform is Windows 7 Ultimate 64 bit along with VS 2012/Sql2k8 for...
View ArticleCreate list view/box like table with key and value
I wanted to create list view like follows ,how should I do that in WPF.which control should I use?when I try to define the observer collection to key value , I didnt able to do it...any idea? class...
View Articledoes making a wpf app (vs2012) a single instance app violate the MVVM pattern?
I'm still trying to sort out issues with Singleton Pattern, single instance app, and MVVM pattern. From what I understand -- singleton pattern means some primary class is static but can't implement...
View ArticleICollectionView grouping and data virtualization
I'm working on a project where we need to group a WPF DataGrid which is bound to a virtual IList<T> (virtual meaning the IList<T> uses data virtualization, where only a small subset of...
View Article