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

WPF DataGrid TwoWay Binding - What's Wrong?

Hi all,I need help understanding why I can't edit the data grid so that the changes are reflected in the bound data. I have the following class:public class Player : INotifyPropertyChanged { public...

View Article


Regarding to AppDomain.CurrentDomain.UnhandledException and logging.

Hi,I used to work with Logging but can't regonize it how to do it with the right way.AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;private static void...

View Article


Is it possible to simplify Grid Definition and when you have many rows and...

I have many blocks in my WPF windows which define the following GRID:<Grid Width="960"><Grid.RowDefinitions><RowDefinition Height="Auto"/><RowDefinition...

View Article

Custom Canvas control's dependency property not visible in XAML intellisense

Hello. I have a custom Canvas control where I've defined a dependency property in the code-behind file as follows:public partial class ImageCelOverlay : Canvas { public static readonly...

View Article

Using variables to define Grid.Row in XAML / WPF

While defining a Form using XAML, I am chaining several blocks of fields. In order to make XAML code more readable and maintenable in the future, I am trying to define a "base" Row for each block, so...

View Article


How to dynamically add tab to ribbon using code

I am working on a project which need load the Ribbon tab dynamically based on the configuration when the program starts up. I can only found a way to add the tab to the Ribbon as...

View Article

Deploying WPF application with Local Database

 I have made an Wpf application that has local database i.e service based database but whenever i tried to deploy it to another pc it says it stopped working Do i need something to install on other...

View Article

WPF DataGrid - Setter not triggered on LostFocus

This issue is about a DataGrid in a xaml UserControl. It has the usual binding of the ItemsSource to an ObservableCollection. The class in the ObservableCollection is a kind of ViewModel with Setter...

View Article


Image may be NSFW.
Clik here to view.

undefined CLR namespace

I try to build this,but with no succes. Thank you!

View Article


Resizing Bitmap to increase image quality

I have an application that gets and saves a picture of an open window. Unfortunately, when the dimensions of the image and window match, the image quality is unacceptably low. I've increased the size...

View Article

How to implement google cloud print windows phone 8.1 winRT in wpf?

I have to print a file using google cloud print in windows 8.1 WinRT application.Help me to implement...

View Article

WPF MediaElement mess up when play loop.

WPF MediaElementAs the sample, When my application is full screen, and then active another app, when I back to the sample application, the video mess up!

View Article

Window Height & Width according to scree resolution

How to manage window height and width , according to change screen resolution<window>     <Grid>            <StackPanel Oriention="Vertical">...

View Article


Dropdown issues in WPF Webbrowser control when viewing IE11 compatible website

Hi,I have created a WPF application, in which we are using webbrowser control to view asp.net website which is created according to latest IE-11Edge Mode.In this website we have multiple dropdown...

View Article

Dropdown issues in WPF Webbrowser control when viewing IE11 compatible website

Hi,I have created a WPF application, in which we are using webbrowser control to view asp.net website which is created according to latest IE-11Edge Mode.In this website we have multiple dropdown...

View Article


UserControl Button IsCancel not honoring e.Handled still calls...

Has anyone come across the .NET Framework *BUG* in the WPF button where it does not honor the "e.Handled = true" value in the OnClick method(s) and instead proceeds to processing Command bindings?...

View Article

Simple line graph with no markers using WPF Toolkit Chart for WPF

I'm trying to create a simple line graph with no markers using the Chart control in the WPF toolkit.  I have a lot of data points, and the line looks very clunky with tons and tons of markers on it....

View Article


Adding and Retrieving data from Combo Box

In the XAML I have this code:<ComboBox x:Name="CurrencyCB" Header="Coin Face" FontSize="18" Height="70" Width="296" Margin="5,25,0,0"...

View Article

Image may be NSFW.
Clik here to view.

Popup Hidden on button click by Trigger

My Issues: How to open popup Hide , click on button By Trigger in WPF.A.Acharya Feedback to us Develop and promote your apps in Windows Store Please remember to mark the replies as answers if they help...

View Article

Create Custom Control Of Nested Grid In WPF

While creating a custom control of nested grid i am not able to bind child grid. Can any body help me into it?Below code is a custom control codeCode Below: using System; using...

View Article
Browsing all 18858 articles
Browse latest View live