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

grid

I need to draw a grid, not as in a grid to layout my application but a grid for the background of a chart i'll later draw.how can I draw a grid with each box being 25*25px?It'll be on my canvas I know...

View Article


File Upload Progress

Hi all,I am working on an FTP file upload in our application and I need to be able to calculate the upload progress to update a progress bar. The upload is already working. I just need to be able to...

View Article


Binding question StaticResource. Want code instead of xaml

How would I create the ArrayList below in code instead of hard-coded into xaml?<Window.Resources><ResourceDictionary><col:ArrayList x:Key="Data"><Point X="1" Y="12" /><Point...

View Article

Having problem with movable popup

I have a popup and I want to make it movable.  I have almost got it, but it move in a funky way sometimes (the popup will move but the mouse pointer is not over the popup).XAML:<Popup...

View Article

'Provide value on 'System.Windows.StaticResourceExtension' threw an...

Hi,I am trying to integrate Windows Form with an exisiting WPF application. The scenarion is the Windows Form will call(open) WPF application by using button control. My code in windows form is like...

View Article


Make Page DataContext change Frame DataContext

Hello,In my application I need to load al ot of XAML pages. So, I have a frame inside my window. I set to a frame datacontext for the concrete page and it works but I need to have possibility to change...

View Article

Custom Window override existing DependencyProperty

Hello,I am trying to create custom window in WPF that has ResizeMode set toNoResize and WindowStyle set to None. I would like to disable changing value of these properties for base class, but still...

View Article

TextBlock with ScrollViewer gets cut-off when text too long

I have a large amount of text in a textblock and I would like the scrollviewer to take effect when it reaches the limit of the grid.Currently the text gets cut-off at the bottom of the grid and the...

View Article


canvas widith

in vb.net code how can I get the width of my canvas?

View Article


Error while debugging in WPF Ribbon

Hi,I had created a WPF app, and added a WPF ribbon. In one of the WPF RibbonGroup, I inserted a thridparty control. It seems to run fine when I run the application without debugging. But while...

View Article

how can i export data to doc & Excel & PDF

How can i Export My page and its details as  doc & Excel & PDF

View Article

how to enable/disable single item in listbox in MVVM?

hi everyone,                    iam having listbox with radio buttons as databinding in MVVM. i need to disable a single item in listbox based on condition in code behind.i already having property as...

View Article

Parent User Control with different child user controls....

Hi,In my application, i want to display few bits (bool) values in the UI. I have created a parent user control (say 'UserControlDataRepository') which will hold multiple child user controls (say...

View Article


Problem with Fixed document using XAML

Hello,I cannot put anything in a FixedDocument using the XAML editor. It refuses to compile and such thing:<Window x:Class="WpfApplication4.MainWindow"...

View Article

How can i stop Canvas drawing?

Hello! I have canvas and many shapes. Sometimes i need to resize this shapes in the loop and there is too bad performance of this action, and i want to off Canvas drawing before this action and on it...

View Article


How to enable listbox items based on another listbox selected item in WPF...

Hi EveryOne,I need to enable listbox items (consists of RadioButtons) based on another listbox selected item using MVVM.It consists of seven to eight groups different groups. Any one help me to solve...

View Article

Notify View from ViewModel

Hello,I would like to figure out how to solve this:I have a ViewModel. If inside the ViewModel a certain state occurs such as property1 and property2 have some values. I need to send a notification to...

View Article


Accessing external hardware devices from ASP.NET

Hi,I have a requirement in such a way, that a .NET web application interacts with a bio-metric(fingerprint reader), Credit Card reader kind of hardware devices.How this can be achieved. Is it...

View Article

PresentationFontCache hogging CPU

Hi,I am developing an XAML and C# VS.Net 2008 windows application. Startup time is fine but my system slows down from the first time the application is run. Looking at Task Manager/procexp I noticed...

View Article

Setting a path object to LayoutPaths Property of a PathListBox

Hi all,I am using the PathListBox Control to dispay the Car images . i am using the Path Elementto define the path .the problem is that the data is displayed outside of the PathListBox control.Can...

View Article
Browsing all 18858 articles
Browse latest View live


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