Quantcast
Channel: VBForums - WPF, WCF, WF
Browsing all 256 articles
Browse latest View live

UWP MapControl events do not happen, but I've found a workaround....

Dear all, this time I'm not writing to ask help in found a solution but to understand why the solution I've found works :) I've a simple map control in my XAML: <Page...

View Article


Image may be NSFW.
Clik here to view.

RichTextBox Issues

Hi, I made a FontViewer program using WPF (See screen below) Here are the issues... 1) When loading a saved RTF file, I am getting a bunch of font names appended at the end of my text that IS NOT...

View Article


WPF tabs

I am very new to WPF and have been tasked with modifying an existing app. One thing I noticed was that the main form's TabControl is bound to an Observable collection in the MainVM, which then gets...

View Article

[RESOLVED] Binding Datatable image column to Datagrid column

Hello, I have just started my first project with WPF and looking at how I can bind a Datatable to a Datagrid. I can see that my text column binds properly but that an image column within the Datatable...

View Article

Databinding issue

I need display parent and child or Master and detail table in two datagrids. The source table is not fixed. In winform, I added two databindings and used below method. However, there is no databindings...

View Article


Data Grid view and check box column C#

friends; how can i add check box column in data grid view wpf to select and unselect all row of data grid view and how can i loop this column of check box to know checked and unchecked row by using c#...

View Article

Is there a simplest way to copy rows in one datagrid and paste it to another

It is simple in Winform. How to simply do it in WPF? Code: For Each DRow As DataGridViewRow In Datagrid1.SelectedRows Dim ClnRow As DataGridViewRow = CType(DRow.Clone(), DataGridViewRow) For i As Int32...

View Article

WPF Listbox, Adding Checkbox

Hi All I would like to add a checkbox into a list box. i know how to do this if i know all the items i need and do it through the xaml. Except I'm looking into a user defined excel spreadsheet adding...

View Article


Not sure how to do this, sort of a doodling app

Okay, a friend of mine asked me for this, but as I don't deal daily with graphics, I'm hitting a wall. The requirements are simple. 1) I need to load multiple jpgs into memory and be able to use...

View Article


Image may be NSFW.
Clik here to view.

WPF Datagrid cannot refresh timely

I have a WPF datagird which is bound to a datatable. After I changed the value of certain cell, like the first row, column qty from 1 to 2. The same row will not update if I just click other cell in...

View Article

[RESOLVED] Not sure how to do this, sort of a doodling app

Okay, a friend of mine asked me for this, but as I don't deal daily with graphics, I'm hitting a wall. The requirements are simple. 1) I need to load multiple jpgs into memory and be able to use...

View Article

How to find the size of a Bitmap on a canvas?

Okay, I've got a canvas sized at 800 x 600, and I want to read in a bitmap and place it on the canvas. This works fine, and I've got the stretch property set to "Uniform"... so the bitmap grows/shrinks...

View Article

WPF – Copy UIElement as Image to Clipboard

I have got following C# code from this link. https://elegantcode.com/2010/12/09/w...-to-clipboard/ Code:   public static void CopyUIElementToClipboard(FrameworkElement element)     {         double...

View Article


WPF ribbon

Hi, A question... Is it possible to use the WPF ribbon control placed on a usercontrol as the ribbon menu on a VB windows forms application? And is there some tutorials that are relativly easy to...

View Article

How to accomplish multi-column, hierarchical data entry

I am using Visual Studio 2012, developing C# WPF on Windows 7. I have a situation where I need to support viewing and modification of data in a DataGrid-style interface, only supporting child rows......

View Article


Image may be NSFW.
Clik here to view.

add button on a top of combobox item wpf

friends; I want to add button on the top of combo box item to open another wpf window i fill combo box items by code C# how can i do that Attached Images  

View Article

WriteableBitmap - CopyPixels, Invert then WritePixels

Hi I have a BitmapSource which is 150x150 pixels. I would like to invert the pixel colour from position (x=0, y=75) to position (x=75, y=75) so basically just a 1 pixel thick line from the center left...

View Article


[RESOLVED] How to prevent a TabItem from being selected

There is no TabControl.Selecting Event in the WPF while there is in the Winform as you can see following. https://msdn.microsoft.com/en-us/lib...v=vs.110).aspx I have found following source for this...

View Article

Selecting First element with IQueryable

Hi Guys, I am working on a Windows Phone Contacts app and I am trying to make a query of the first IEnumerable element in the variable "contacts". The output has to be shown in the Listbox under the...

View Article

Unable to cast object of type to type IEnumerable

Hi folks, I am buidling this app where I use deserialization to obtain a List of the object "Contact", so far so good. When I try to retrieve the first element from this obtained list (which I sorted...

View Article
Browsing all 256 articles
Browse latest View live


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