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

Where do I found windows.data.json in wpf

Hi,I am developing wpf using C# in vs2013 application.My application needs to parse Json Previously I have used windows.data.json in windows store apps.But I am unable to find the namespace in my...

View Article


How to minimize time required to plot scatter chart in WPF.

Hello everyone...I am new to WPF application. I am using WPF chart control to plot x,y values using scatter chart in vb.net. I am ploting 100 points on button click it requires more time to plot 100...

View Article


WPF ListVIew Group by Type but display TypeName in header

Im very new to WPF and i am working with ListView and Grouping. What im trying to achieve is to group items by certain type but display a different name on the ListView header. This will allow me to...

View Article

xml encription and decription

HalloI have a class wich I need to encrypt and save to disk. Of course i also need to decript it back when needed. I have the strange problem that the decription will not happen correctly on all pc's....

View Article

How to get Wifi wifi strength realtime in Windows Phone 8.1

Hi,I get wireless signal by this code below:var internetConnection = NetworkInformation.GetInternetConnectionProfile(); if (internetConnection != null) { var networkstatus =...

View Article


Focus /Activate canvas in WPF app

Hi,My app has multiple Canvases.  When I drag an element from one canvas and drop it into another, I would like the later to be focused and active.In the CanvasDrop event I have this.Focus(); , but...

View Article

How to avoid memory leak in code of Win 7 - Onscreen keyboard while clicking...

Hello Team,I am developing WPF - Web browser based kiosk application.I have implemented the feature like when somebody clicks on any textbox inside the page rendered in web browser control then...

View Article

How to create multiple header in DataGrid, but dynamically

Hi,I would like to create a table with multiple headers using DataGrid in C#. I can create a table( datatable). However, I need multiple headers in the table.Thk,Jose

View Article


no certificate error

Hello, The wpf solution has two projects. the first project "mainProjectName" has the UIs and the second project "DataAccess" is the .dll which the UIs access...The DataAccess project builds. The...

View Article


Conditional DataBinding !

Hi everyone,I have a listbox whose list items are radiobuttons (I used a data template here).Now, due to some weird design/requirement I want to select the list box item when user checks the radio...

View Article

Image may be NSFW.
Clik here to view.

Process-isolated control not clipping in scrollviewer

I have a wpf application which hosts a group of controls which are backed by another process via the FrameworkElementAdapter infrastructure. For some reason, these controls have a clipping / Z order...

View Article

Event raise in class

Hi,I have a class like this:Class data{ private static event eventhandler IDChanged = null;public Enum.enum1 IDData{ get            {                return this.data_class;            }            set...

View Article

How to load an image from assembly's resources for use in a ComboBoxItem?

I'm trying to populate a ComboBox with items that display an image and a string but I'm having trouble with loading the image from the library assembly's resources.Each ComboBoxItem is displaying a...

View Article


Take a snapshot of video in mediaelement without violating MVVM pattern

Hi All,I need to take a snapshot of video playing in mediaelement.Below link explains how we can achieve this.http://www.thomasclaudiushuber.com/blog/2008/04/06/take-snapshots-of-videos-with-wpf/But...

View Article

Image may be NSFW.
Clik here to view.

How to create custom search properties for Custom control in coded UI

Hi ,i have created a  custom control in WPF . i need to provide coded UI support for this control.using MSDN link i havae created a codedUI extention. but my properties are not shown in  coded UI map...

View Article


How to hide a windows form which contains user control in WPF?

Hi,I am new to WPF. Can you suggest me how to hide a windows form which contains user control in WPF. I have added UserControl.xaml into windows form using Element Host control.I want to hide the...

View Article

How to create sqlite database in wpf

Hi,How can I create an sqlite  database in wpf application.Thanks,Alok

View Article


Updating a static property from style setter

Hi,I have two checkboxes and both of them are bound to different static variables. I need to uncheck the child checkbox if the parent checkbox is unchecked. I am trying to do as below and its not...

View Article

Whats wrong in this?

Hi everyone/Magnus/Andy,I have declared a object and the property like below.public int Index{get{return get_Index();}set{set_Index(value);}}private int <Index>k__BackingField;public int...

View Article

reach all buttons of xaml by c#

I have created many buttons in xaml. How can i change background or other property of all buttons by c#. For example can i create array of buttons which will contain all buttons thats are on the page?...

View Article
Browsing all 18858 articles
Browse latest View live


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