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

WPF DataGrid binding

   Hi,I would like to bind data from an XmlDataProvider to a datagrid. I've got an xml data like this bellow and I would like to bind a datagridcomboboxcolum to list all vendors - Surname for a given...

View Article


Drawing complex shapes using templates of different basic shapes

Hello All,In my application, i have to allow user to create complex shapes using basic shapes like line, triangle, rectangle, ellipse etc.So user can drag and drop these shapes and save the required...

View Article


Image may be NSFW.
Clik here to view.

Publisher cannot be verified. How to fix it? XBAP

Whenever I start debugging I get the following warning twice:How can I make my application trusted? Do I need a Certificate, if so, how can I generate one? 

View Article

Selection Trigger in WPF

Hii Friend,          I am having a listView with Selected Members. For each member there will be different usercontrols. For the 1st member i may give only one usercontrol , on selection the...

View Article

Binding CustomControl's Property to its inner Context Menu

Hii,I've my custom Control in which, i'm defining a static contextMenu to its one of the template part control. For e.g. Look at the code below.<ControlTemplate...

View Article


Datagrid Column Date Formatting Issue while AutoGenerateColumns=True

Hello there,I've got very strange issue in DateColumn while binding my datagrid.:: AutoGeneratColumns=True in my dataGrid.now, when i bind data to dataGrid, my system DateFormat is "dd-mm-yyyy...

View Article

Read, Edit and manipulate PDF documents in C# windows application

Hello Team,Am using .Net framework 4.5, VisualStudio 2012,WPF, windows applicationI want to open & display PDF and should have the features mentioned below1. Open & View PDF document2. Zoom -...

View Article

Data grid fixed row

HiHow can I make the fixed row (footer)in Datagrid control of the silver light.I am adding custom footer row.. this row should not be hidden on every scroll.It should be static How can achieve...

View Article


Tab functionality to navigate inside the input positions in masked text box...

Hi, I have a masked text box custom control which accepts text in the format" _ _ w _ _ d _ _ h _ _ m". My requirement is to have the tab functionality working inside the control. Say if my cursor is...

View Article


How to binding a property of its child?

Hi all,the below code just be test code to bind its child property background, but it does not work. I just want to use RelativeSource way, but no by elementname. Since I would like to use it in...

View Article

Image may be NSFW.
Clik here to view.

How do i show a label or any wpf control over the powerpoint slide show ?

I am launching powerpoint slideshow in my window. I want to show a label or any other image control on the powerpoint slide show and slide show should be in active state.Here gray color is for...

View Article

XML data binding with controls in a grid

This is my XML data:<?xml version="1.0" encoding="utf-8" ?><Teams xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">  <CountryList>    <CountryName>UK</CountryName>...

View Article

Which is the way Better way to override the Behaviour of a WPF control -...

Recently I encountered a problem in my custom numeric control, which can take double values. But in certain scenarios it must be restricted to take only integers. Here, I have 2 ways to do it. Either...

View Article


Combobox Binding using WPF

Hello,I have two combo boxes inside a grid view in two different columns. I need to bind the list of string to combo box. I can able to bind successfully to first combo box but when I try the same...

View Article

Application Preview in WPF

Hi there !I'm trying to find a way to visualize an application (of any kind) in a WPF application. Let me explain my situation : I'm developping an application in WPF for medical purpose. The doctor's...

View Article


Asynchronous query from database using c# 4.0

I have .net 4.0 application does a heavy database search. I want these operations to be asynchronous and also it should be cancellable. Async and await works fine in .net 4.5 which also has...

View Article

UI Virtualization

Trying to get virtualization working in a complex TreeView.  There are three node types: Map->Layers->Legend Groups.   Complexity is added due to the fact that items in the last node (Legend...

View Article


Disable a button in ViewModel

Original I have code event in code behind.private async void Start_Click(object sender, RoutedEventArgs e) { try { Start.IsEnabled = false; Start.IsHitTestVisible = false; Start.Background =...

View Article

Datagrid 2 table binding. MVVM

Im creating an application and on one page, there will be a datagrid showing employees absence record.The data i need is held in 2 different tables. I havent been using WPF & MVVM for very long and...

View Article

Scrollbars and HeaderedContentControl

I'm just learning WPF (finally) and I'm trying to get scrollbars to work in the content part of a HeaderedContentControl. I seem to get the horizontal scrollbar correctly, but the vertical scrollbar...

View Article
Browsing all 18858 articles
Browse latest View live


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