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

Make Enter On A Button Act As Mouse Click. Please Help!

Hi there all,I have my program set up so as that when i press enter it tabs between all the textboxes on the usercontrol. i am wanting it though, so that when it lands on a button and i press enter, it...

View Article


Many to Many (Students , classes example) Datagrid xaml binding

I have a WPF / entity framework application, my model have student , class entities there is a many to many association/relation between student and class (student can have many classes and class have...

View Article


WPF Application using EF 5 and SqlCe 4 - create, deploy and migrate

Hi,I have to create a distributed WPF application with a flat database on client side in order to work offline if the WCF service is not reachable. I thought about using entity framework model first...

View Article

How do I set a column in WPF datagrid as percentage value with 2 decimal points?

How do I set a column in WPF datagrid as percentage value with 2 decimal points?Here is my declaration of the data grid in XAML:<DataGrid             ItemsSource="{Binding}"...

View Article

How can i display controls faster which is added run time?

Hi,I have a one form and I try to display data in DataGrid control with 100,000 rows & 10 columns and filling grid from DataTable. It works fine. I try to display data in TextBlock and adding...

View Article


SQL Server Report Viewer Control , Replacing Toolbar with own WPF Controls

Dear all;i am using VS2010 and SQL Server Express 2008R2 express i have integrated the original Report Viewer Control in my WPF application by using an windows form host.The Reportviewer works fine so...

View Article

Record Screen | WPF, DirectX| Camtasia

Hi,I want to build a screen recorder which will record on screen activity like "Camtasia"...Please let me know do I need to use WPF or Direct X for itPlease provide detail if anyone has done it in the...

View Article

Suggestion how to localize templates XAML

Hi,my application is composed by a main window which loads in its client area different XAML for different customers. The directory structure of the program is:MyProgram     |- Templates...

View Article


Create Custom Calendar Using Datagrid

Hello everyone,I need help in creating a custom calendar using datagrid in WPF.Please give me some suggestions or samples... 

View Article


Strange problem with RenderTargetBitmap

I am developing a frame extract from video program.  It works well and I can set an interval for the screenshots which are the stored in individual jpg files.Now I am adding the ability to add things...

View Article

Image may be NSFW.
Clik here to view.

CommandBinding doesn't work

hi,Just trying to call a Command from one MenuItem:XAML:<Window.CommandBindings><CommandBinding Command="ApplicationCommands.Close"...

View Article

WPF & OpenFileDialog (Win32 vs Forms)

I'm a programming student and I'm presently enrolled in a class teaching C# using WPF. All of my previous experience has been in WinForms and this has lead to some interesting issues. The most...

View Article

A little bit of imagination (TextDecorations)

Hi there,This is one image with one HyperLink in order to use ICommand interface (simulating a button):<TextBlock DockPanel.Dock="Top"><Hyperlink Command="New"><Image...

View Article


Lack of headers

Hi AllI am having trouble with viewing .htm files, when they are in Split view, the header and left and bottom tool bars are visible in the source but not in design. When you click on the text in the...

View Article

WPF Frame can not inherit value from parent

Hello If the parent control defines a value for the property "Foreground". The WPF elements inside the Frame will not inherit that properties value.If I add New Page to frame . then I change theme of...

View Article


Change TextBlock Foreground color based on its Background color

In my WPF application, I have to keep on updating TextBlock background based on user conditions. TextBlock style is defined in App.xaml. If the background is too dark (Green/Blue) I want to set the...

View Article

Database value doesn't display in wpf combobox

I've messed something up but cannot figure out what.  I have a datagrid that used to display a value coming from the database just fine.  Then I changed the cell on the datagrid to a combobox.  The...

View Article


Problem creating editable ListBox Item with an external button

I created a simple ListBoxItemStyle that contains a TextBox with its Visibility set to Collapsed and a trigger based on the ListBoxItem Tag property being set to True which sets the TextBox Visibility...

View Article

Animate the width property of a TextBlock

Hi to all, I have a TextBlock inside a cell of a Grid which I want to animate every time the text changes. My idea is to animate the width property of the TextBlock starting from zero to ActualWidth....

View Article

Dependency Properties and Attached Properties

hi,i am not clear with the concepts behind Depencency properties and Attached properties after reading so many time with reference of books and internet.can you please explain in terms of real time use...

View Article
Browsing all 18858 articles
Browse latest View live


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