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

Performance UserControl / CustomControl

Hi @ all,I already have searched a lot of sites on the net, but didn't find any solution. The statement is, that there is no performance difference between a UserControl and a CustomControl.But I have...

View Article


How to interop WPF PrintDialog and the MFC print dialog

We have a MFC application. And we added an WPF assembly to be hosted in this application. The MFC application already implemented printing using MFC printing dialog. Now, we want to use the  same MFC...

View Article


Binding to a lost focus event

I have a data template that defines a "textbox" control.  <DataTemplate DataType="{x:Type ctlDefs:myTextBox}"><Textbox  Grid.Column="1"                     Margin="0,0,0,5"...

View Article

WPF MemberwiseClone() causes treeview binding error

I have a 3-layer treeview defined in XAML and initially when the tree has only 1 root node and no child nodes, it is working fine. When I try to edit properties in the root node, I use MemberwiseClone...

View Article

FlowDocument TableCell align paragraph bottom

Hello,Im currently creating a flowdocument with a table.Is there any chance to align the paragraphs in the tablecell to the bottom and not to the top? It works when creating a uiblock with a grid...

View Article


UpdateSourceTrigger=PropertyChanged does not fire within user control.

I have the following usercontrol. <UserControl x:Class="CommonControl.ctlTextbox" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"...

View Article

Image may be NSFW.
Clik here to view.

XBAP application download error

I met a problem When I accessed my XBAP application which was deployed in our Windows Server 2012 web server: The total size of the application is around 33Mb. As we all know, the XBAP application will...

View Article

ContentControl becomes slow after showing a ComboBox drop down

WPF applications can be resized very quickly until a CombBox drop down is shown. This is most apparent when the application uses many ContentControl instances. This is best demonstrated with a sample...

View Article


WPF popup is going behind when MainWindow Topmost is true

Hi All,  My scenario is,       Main window's Topmost is set to true       WPF popup's IsOpen=true and StayOpen=true   I want to display the window with popup ,but popup  is going back sometimes  also...

View Article


Wpf Reports with Image List

i have created Reports in FlowDocument using Assembly "CodeReason". and i have listed the studentName and Age in report from DataTable. Data is came dynamically for that i use following...

View Article

Image may be NSFW.
Clik here to view.

Criticize my UI design

Designing the UI is not my strongest skill so I am not sure if my UI looks professional or childish so I wish to get your criticisms on attached screenshot.

View Article

Wpf Reports with Image List

i have created Reports in FlowDocument using Assembly "CodeReason".and i have listed the studentName and Age in report from DataTable.Data is came dynamically for that i use following code.File:...

View Article

Image may be NSFW.
Clik here to view.

How to effectively create this kind of control

The shape of the control always will be a rectangle.The user must be able to click on it (like a button).What is different about this control it's the way it is rendered. For example, the control could...

View Article


Update a ListCollectionView through a event becomes exception

Hello,i have a problem with ListCollectionView.Tried to update the items of ListCollectionView through a event, which has been fired by EventAggregator. It seems to be the problem, that i fired the...

View Article

How to Bind a List to DataGrid using MVVM at Runtime

All, I have an View model that is bound to a `DataGrid` using MVVM.     <DataGrid ItemsSource="{Binding Path=Resources}">...</DataGrid>Where     public...

View Article


Grid not working as expected when having RowDefinition with MaxHeight=X &...

Hello, I'm trying to have a Grid to behave as if its rows are having a Maximum Height but that may still automatically shrink if their content's desiredHeight is smaller. So I tried by creating the...

View Article

Difference between wpftoolkit and presentation framework data grid

Hi,Consider the following implementation.Initially No rows in datagrid and user enters a row in data grid which have three columns Country, State and Districts. After inserting a new row Countries...

View Article


DatePicker Control is not validating enterd string

I have a requirement where we need to show Error when any string is entered in DatePickerTextBox.I am using sdk:DatePicker control and as the DatePicker internally raises an Exception when  string is...

View Article

Combobox with Auto Complete Facility in WPF

Hello Guys,I am trying to achive Auto Complete feature in Combo Box in WPF.I tried the using the below sample from this site.http://dotbay.blogspot.ae/2009/04/building-filtered-combobox-for-wpf.htmlit...

View Article

MVVM architecture in my solution - input required

Hello All.This post might be long, so please brace yourself. A bit of background. I run a Java Server, that can pick up on certain events. I wanted to create a C# GUI for this server, and thus created...

View Article
Browsing all 18858 articles
Browse latest View live


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