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

Image may be NSFW.
Clik here to view.

TreeView inside ListBox

Hi,I have the following DataTemplate. I would like the HierarchicalDataTemplate to display a checkbox or Radiobutton instead of the TextBlock. TreeViewItems could be mixed as you traverse...

View Article


EventAggregator help

I have a small project with an Account Module : AccountListViewModel(display the entire list of accounts) , AccountViewModel(add/edit),TransactionListView(a list of transactions belonging to an...

View Article


Image may be NSFW.
Clik here to view.

datepicker shows truncated month

Hi All.I'm using in WPF project VS2012 datepicker control. But when calendar is open month show truncated.How to fix it?Thanks.

View Article

Command inside WPF 4 DataGrid RowDetailsTemplate Not firing

Hi all,I am using VS2010 WPF4 + Prism 2.2 to build my application. In oder to demo the issue, I built a very simple application here:The Xaml of window (MainWindow.xaml), I defined a DataGrid and a...

View Article

How to get Handle for a Image Control in WPF

 I have to read an image from a camera dll function. the function takes  a handle of the UI element to display the images.I was able to get the image on the Windows picturebox by using its handle...

View Article


WPF toolkit charting set color of Bar or Pie

Experts,i m new to charting.i am using the WPF charting toolkit and took help form this...

View Article

DispatcherTimer doesn't seem to work with milliseconds.

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using...

View Article

XBAP ON WIN 2008 SERVER the Internet Explorer Shut down

Dear All,I have an application XBAP with a Terminal Server.When my application use a Client connected with Win 2003 Server it Works without problem.If we used Clients connected to Win 2008 Server the...

View Article


Cannot have more than 4000 BitmapCacheBrush

Hello,Sorry for my bad english.I cannot create more than 4000 BitmapCacheBrush. I think it's because there is a limit of 10000 GDI handle per process.There is no error, but the application block.The...

View Article


Show DB data in nested Datagrid in WPF ?

Hi every 1Please i'm new with WPF, i have DB with 2 tables (Customers_details,Customers_Activities) and i want my WPF (vb.net) app datagrid to do the following :--> inner datagrid as row details...

View Article

Seeking advice on Drawing/Rendering in WPF

I wrote a program that processes and edits complex terrain models. Up until this point it just opened a point file, ran some statistics, made some conversions, and output a TIN file for use in CAD/GIS....

View Article

Error: Value does not fall within the expected range

Run the following code in Windows 2008 x64 as a desktop application in c#byte[] arrImage = File.ReadAllBytes(PathImage); MemoryStream ms = new MemoryStream(arrImage); BitmapDecoder bitmapDecoder =...

View Article

How to capture Mouse Down event outside a control?

Mouse Capture doesn't work: public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); Button button1 = new Button(); button1.Width = 50; button1.Height = 20; this.Content...

View Article


Unable to add a dropshadow to a menuitem box.

This is my first attempt at creating an application, so apologies if my questions are misformed or misplaced.  When you click on 'file' in a menu bar and a little box appears below with options like...

View Article

When clicking on datagrid row it throws me exception - WPF C#

Whenever I try to double click my datagrid row to edit it, I throws me a few exceptions which doesn't say anything to me. Hovever if I set the whole datagrid to IsReadOnly to true, I want have the...

View Article


How to work on a view control from viewmodel

Hello !I'm trying to integrate a news ticker in my WPF project. I'm working on this one (http://www.jarloo.com/rumormill4), to work with Mvvm light without caliburn micro.I have three elements :-Ticker...

View Article

Popup Animation Issues

Hello all,I have developed a class based off of the Popup class in the Primitives namespace. Basically, this popup is designed to mimic a ToolTip, but can be shown at will by setting its IsOpen...

View Article


Is there a possible way to catch screen keyboard show/hide event in windows 8...

I am developing a desktop app, and may be used on the tablet, the question is how do I catch the screen keyboard show/hide event? Thanks.

View Article

No way to implement IDisposable for UserControl?

Hi,I am using Prism and my ViewModel is implemented the IRegionMemberLifetime(Return false).I hit the Service(Web Service) that return me 2,000,000 Records under 2 seconds. I see that it uses more than...

View Article

MVVM in serial communication scenario

Hello all,in my scenario I've  c# library (DLL) that implements my protocol functions, as following:public Read(...) { .. .. myThread = new Thread(this.TraceThreadProc); .. .. myThread.Start(tParams);...

View Article
Browsing all 18858 articles
Browse latest View live


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