Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Browsing all 18858 articles
Browse latest View live

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 Article


Image may be NSFW.
Clik here to view.

Showing 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 Article


Copying 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 Article

Folder 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 Article

Why 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 Article


Data 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 Article

TreeListView 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 Article

WPF - 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 Article


How 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 Article


ListView 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 Article

Can 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 Article

IMultiValueConverter 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 Article

WPFFontCache_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 Article


Run 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 Article

Image may be NSFW.
Clik here to view.

ProgressBar 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 Article


Command 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 Article

Blocking 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 Article


Image may be NSFW.
Clik here to view.

Create 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 Article

does 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 Article

ICollectionView 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
Browsing all 18858 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>