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

Problem with dialog box running twice

Hello all. I am having trouble to figure out a problem with a dialog box. I show the dlg from the main menu like this. private void MenuItem_Click(object sender, RoutedEventArgs e)        {...

View Article


Using IEditableCollectionView on an empty collection

Hi,I have an ObservableCollection that we manage items through an IEditableCollectionView. However when the collection is empty, and we try to add an item it throws an error as "Index was out of range....

View Article


Hiding main window until after authentication takes place..... how to???

Hello,My initial App.xaml file lists:   <Application x:Class="IcebergMain.App"         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"...

View Article

Image may be NSFW.
Clik here to view.

DataGrid with extra column

Hi all,I have this issue with the datagrid where is adding what seems to be an extra column (or at that's what it seems to me). I have searched the web for a solution without luck. Some suggest to...

View Article

GridView EditItemTemplate

Hello,I am creating a gridview programmatically. To the gridview, I am adding TemplateFields. These fields have HeaderTemplate, ItemTemplate and EditItemTemplate. The issue is, when I bind the data to...

View Article


Manipulate DockPanel or some "Panel"

Hi everyoneI've been developing an application (in XAML with C#) with a left menu, like Outlook Office 2007.I declared a TabControl with its TabItem (there are 3 TabItems) in the XAML code.I want to...

View Article

How to trigger an event in a view control from a ViewModel

Hi,I'm having a problem where my DataGrid (bound to an ObservableCollection and having CauUserAddItems=true) relies on the event RowEditEnding to update the NewItem row to display a custon 'click here...

View Article

WPF Listbox Virtualization creates DisconnectedItems

I'm attempting to create a Graph control using a WPF ListBox. I created my own Canvas which derives from a VirtualizingPanel and I handle the realization and virtualization of items myself. The...

View Article


Validation occurs only on TabOut not "Save"

I have a custom control called ValGrid. When I tab out of that control the validation associated with it occurs. But when I click on the save button the validation does not occur.The xaml looks like...

View Article


MediaElement Position issue:

There are similar issue related to MediaElement.Position property like the on the following thread:http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/ebbbca48-1b19-425a-a757-c9108bb6de02/But my...

View Article

Are paths/shapes rendered even if they are hidden/collapsed?

Hi,My application is loading very slow and I am trying to improve the performance.One interesting thing which I came across is the render time taken by WPF.I have a lot of shapes (running into...

View Article

Image may be NSFW.
Clik here to view.

DataGridTextColumn MultiBinding with ElementName works not all machines -...

Today, I got a crazy behaviour. My multibinding works on one machine but on another I got DependencyProperty.UnsetValue. Machine 1: Win8 works fineMachine 2: Win7 got DependencyProperty.UnsetValueHere...

View Article

Windows Form vs WPF binding walkthrough

Hi. I was trying to repeat the simple scenario where you bind 3 properties of an object to 3 textboxes using WPF. If you use Windows Form, after adding the data source, you can complete the walkthrough...

View Article


Hang in unknown location in a very complex WPF application when windows...

I have a WPF application with a very complex XAMLs, I need a way to know the point that my application hang on, when I try to pause the execution, the application seems to not be hanging, the pointer...

View Article

JSON parsing

Hi, This is json result which got from api, can anybody tell me how i deserialize it and bind to Listbox {    "api": "getplayerlist",    "status": "success",    "message": "Player Details",...

View Article


how to design the transportation website for a college

i am developing a college website for transport purpose what design interface should i use and what features should i include in it. i am not getting any idea how to start it as i am doing this for the...

View Article

Validation of textboxes , WPF MVVM

Hi Guys,I would like to know, how can i validate the textboxes in the UI. When the user click on the button, if there any textbox is empty, I want to display as a error message, display error message...

View Article


How to disable Charms (windows 8)- Using Application in Touch screens like...

Hi,    Disable chars in windows 8 for our Kiosk style framework.       I have read that many recommended to use Windows 8 embedded but this is not an option for us. Our clients are inquiring tablets,...

View Article

How to disable Charms (windows 8)- Using Application in Touch screens like...

Hi,    Disable chars in windows 8 for our Kiosk style framework.       I have read that many recommended to use Windows 8 embedded but this is not an option for us. Our clients are inquiring tablets,...

View Article

Set EndDate on 1 or 2 day later then StartDate

HI All.I'm using that code to prevent to select EndDate early then StartDate<DatePicker Name="EndDatePicker" DisplayDate="{Binding SelectedDate, ElementName=StartDatePicker}" />Is it possible to...

View Article
Browsing all 18858 articles
Browse latest View live