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

Convert html page to a image using webbrowser in asp.net taking Too much time...

Hi,I have a problem when I convert html page to a image using webbrowser it's taking Too much time with heavy html page.It's works fine for small HTML Page but when html page is heavy then it stuck...

View Article


Image may be NSFW.
Clik here to view.

how to set check box in header and rows in datagrid in wpf

hi,    I have problem to design datagrid with checkbox in wpf and also how to get only checked values from datagrid to backend(c#).....my XAML coding..<UserControl x:Class="wpfpayroll.payslip"...

View Article


Out of memory exception in listbox

I have a listbox where I am loading some images from media library.But iam getting an exception when loading it second time or clicking back button.Here is my code..... public MainPage() {...

View Article

Image may be NSFW.
Clik here to view.

How make ScrollIntoView keep a ListItem fully in view?

I’m using ScrollIntoView to keep ListItem visible when moved up or down a list. This mostly works, i.e. the ListBox scrolls up or down. However, it seems always to be one row off where it needs to be!...

View Article

WPF: how to detect application idle?

Our application uses WPF and touch screen.We need to detect application idle (no user interact with the application such as click buttons, however the application still running) for 10 minutes so we...

View Article


MouseOver event in wpf c# blend

I want to know how i disable the defualt property of mouseover event in WPF by c# code only.Because i don't want these default display when i move the mouse over a button or other elements.Thank you

View Article

Intellisense stopped working for a project with XAML

Yesterday, my xaml intellisense stopped working.  I've seen issues similar to this, but not exactly, and none of the fixes I have seen for similar questions seem to apply to mine.Symptoms.Yesterday,...

View Article

WPF event handling? (cont'd)

I asked about this earlier (http://social.msdn.microsoft.com/Forums/vstudio/en-US/7e7a9738-9053-4f50-b29c-d3c066e41d71/wpf-event-handling), but since that was answered that far, I made a new thread for...

View Article


Binding Dependency Property to a user Setting

I have a simple class that is an Observable collection of DirectoryInfo.  It is just a list of path names that I display in a Listbox.  I define the object like this in the xaml<local:MyCollection...

View Article


RichTextBox - Underlining all text after the caret

Hello everyone,In my application, I have formatting features such as bolding, underlining, italics, and strikethrough. In order to make these features accessible to the user, I have buttons that the...

View Article

Block webbrowser from accessing webpages in c#

I have a problem at work. I have a WPF-client. Code in C#. I have a database with url's. We want to block the webbrowser from reaching these webpages. We have different users. They login to the...

View Article

UI update problem

Hi, everyone!I have a to fill heavy data form. It's take a while and I decide to speedup this process by separating in different threads. They start simultaneously and I have to wait till all of them...

View Article

autoclose datetimepicker when date is selected

Hi All.How to do auto close datetimepicker when date is selected?Thanks.

View Article


link email address and send email via outlook in wpf

I am working on a wpf app, and I have a Customer Information section where I can record my customer information. In this section, I use a textbox recording customer's email address. But now I want to...

View Article

Embedd Office in win form

Hi,I would like to know what is the recommended way of embedding the Office application into Win form (or WPF). Years ago MS released DSOFramer component which was OK (with some quirks) but...

View Article


The calling thread must be STA, because many UI components require this in a...

Hi,I am working on a web project. The server of the project uses SignalR. I am getting this error "The calling thread must be STA, because many UI components require this" only in release version and...

View Article

how to get checkbox checked items in datagrid in wpf

hi ,   I want to get checked items values..i dont know how to get please help me..<Grid >        <GroupBox Header="Payslip Details" Name="lvpayslipdetails" Margin="0,66,0,36">...

View Article


DataContext and 'System.InvalidCastException'

I have ListBox of 'SpecialDrive' items, each consists of a item name and delete button (and a few other)<DataTemplate DataType="{x:Type local:SpecialDrive}"><StackPanel...

View Article

how to set header checkbox checked all row checkbox checked in datagrid in wpf

hi,   I want know how to  set header checkbox checked all row checkbox checked  and also unchecked means all row checkbox will be unchecked.. i passed datagrid values from sql server...XAML...

View Article

Application Crashes when using more rectangle filling visual brush

Hii am creating a video player where i need to use nearly 50 rectangle to display the same videousing visual brush. issue is it is playing some times without crashing most of the time application...

View Article
Browsing all 18858 articles
Browse latest View live


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