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

multi threading in vb.net

hello , Can anyone  pls tell me how to multi-thread in vb.net because i have a panel containing different custom user controls and i want to loop over them simultaneously . thank you 

View Article


Simple Drag And Drop a Wpf button Control (2)

Hi all,I used as the base for my project this topic (https://social.msdn.microsoft.com/Forums/vstudio/en-US/eb3a912b-1046-4902-8c7a-bbc0566209c0/simple-drag-and-drop-a-wpf-button-control?forum=wpf).My...

View Article


How to allo two comp to write into database at a same time?

Hi all,I have a program -> it is stored in personal cloud -> to this cloud are connected three, sometimes more computers -> this program, written in C# of course, use sometimes more computers...

View Article

Image may be NSFW.
Clik here to view.

WPF ListView Live Grouping

I have a listview with dynamic grouping, the code I use to add group descriptions is . PropertyGroupDescription groupDescription = new PropertyGroupDescription("CheckSum"); view =...

View Article

Image may be NSFW.
Clik here to view.

passing comboboxitem as command parameter

Hi,I have a combobox filled with a collection of objects that have an IsSelectable property. And when IsSelectable = false, I want to perform right click on it , the context menu will appear, then...

View Article


working with Xceed.wpf.toolkit and datagrid in WPF forms

I need to  currently work on the XCeed.wpf.toolkit WPF controls , with <xcad:MenuItemEx Header="MenuItemEx" /><xcad:DropDownButton x:Name="dropDownButton" Content="DropDownButton"...

View Article

Switching between windows in WPF

Hello ! I come from Windows Forms so i feel a bit lost.On Windows Forms i was using the MDI Container. Whats the alternative for WPF? Opening each window in a new tab? Is there any guide out there?

View Article

After displaying mysql data with the listboxitem, how to delete the selected...

After displaying mysql data with the listboxitem, how to delete the selected item and the corresponding mysql data by clicking the button?

View Article


WPF application and opening files in Excel

I have the following code below. I am seeing an issue at a few customer sites where once they save the file, it is bringing up the save dialog box AGAIN and trying to save it again instead of actually...

View Article


How to pass ScrollChangedEventArgs as argument to command?

Hi, In Our application, we are using C# WPF with  MVVM pattern. For the ListBox control, we need to bindICommandproperty toScrollViewer.ScrollChangedevent. As this is Routed event, it will notsupport...

View Article

Image may be NSFW.
Clik here to view.

Excel Worksheet GUI becomes unresponsive as soon as SetParent is called

For DotNet application, Excel is used to work in a WPF Frame. All is working proper, except the sheet is disabled to work as soon as SetParent is called.Perhaps you can help?Details, Sample project and...

View Article

How do you remember the username and password in the login window in C#?

When I exit the program, I open it again, and the user name and password box record what I entered last time I logged in.

View Article

html button in web browser of wpf

hi to all,i'm using a web browser component in my wpf application and in the web browser component i'm using html page....In the html page i have created some buttons and i want them to function on my...

View Article


Image may be NSFW.
Clik here to view.

When you apply TranslateTransform to Canvas, what you do is move the control,...

Good night,I have always worked in GDI + in WinForms, and using the famous Graphics of the control, to which was applied Translate and Scale, in a very practical way, but now I am starting with WPF,...

View Article

Is it possible to use PrintVisual to print a view with a background image?

I would like to print a view with PrintVisual, but I have notice that if I add a background to my view, then it prints an empty document, if I delete the background image, it prints the resto of the...

View Article


Image may be NSFW.
Clik here to view.

Canvas + VisualBrush not rendering image as uniform fill

I've got a Canvas that I'm setting the Background property to a VisualBrush consisting of an Image. I'm data binding the Canvas' Width and Height to the Images' Width and Height. Here's the...

View Article

DataGrid, BlankCell, ValidationRules and MVVM Problem

i have a DataGrid with something like <DataGrid ItemsSource="{Binding Customers, IsAsync=True}" Grid.Row="1" AutoGenerateColumns="False" SelectedValuePath="Id"...

View Article


ProgressBar is not updated until i move with slider (help)

I have ListBox which have items as custom user control. Item is created by me, it is simple grid with Button, ProgressBar and Slider. When button is clicked, it start compute and move with ProgressBar....

View Article

Navigate from VB page to C# page WPF

I am wondering how to make this work in wpf.  I have a solution with 2 projects, one in VB and one in C#.  How can I navigate from the VB to the C# page and vice versa via a button click.  Normally if...

View Article

How to close a Button.ContextMenu programmatically?

Is it possible to programmatically close a Button.ContextMenu? The reason I ask is because I have a Navigation Tray item that displays a WPF Window upon click on the tray icon. My client wants the...

View Article
Browsing all 18858 articles
Browse latest View live


Latest Images

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