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

Export WPF fixed document to Excel

Hi Everyone,     After I have created a report in a FixedDocument, how do I go about adding Export to Excel functionality for the report once it is previewed in a DocumentViewer?

View Article


What does mean by "There should be no strong or weak (via Interface)...

There is a MVVM rule like "There should be no strong or weak (via Interface) reference of View in ViewModel".Currently I am converting one wpf application to MVVM and for that i am refering to rules as...

View Article


Change RenderTransformOrigin after Rotation applied

Hello everybody,currently I'm working on a Program to design UI Controls on a Canvas.I want to rotate Controls by default in the Center (RenderTransformOrigin="0.5,0.5"). If I now apply a Rotation...

View Article

WPF crashes on Focus()

  I am facing an issue with setting focus to TextBox controls in WPF. I don't have my stack trace at this time (writing this from home), but this is the problem in a nutshell: I have developed my...

View Article

Find application Window Dimension

How can i get the actual client Width and height of my application (WPF Page NAvigation app)If i use PrimaryScreenWidth and PrimaryScreenHeight , and if my application is not in fullsize mode , i am...

View Article


Image may be NSFW.
Clik here to view.

LINQ to Sql

Hello,I have a .dbml (generated by LINQ to Sql), I need to show my data in some TextBox.My Form (all inside a Grid x:Name="grdConteudo"):XAML:<TextBox x:Name="txtGrupo" Margin="10,5" Text="{Binding...

View Article

Datagrid as a dropdown for combobox in wpf

i have a data grid in WPF. if i add a row, newly added row has to be selected by default. in that newly added row first column cell has a combo box, for the same column drop down has to be enabled...

View Article

Keeping Focus/SelectedItem after DataGrid ItemsSource change

hello fellowsive been working on this for a few days, but cant seem to come up with a solution i have code on a timer that refreshes the DataGrid every few seconds i tried many refresh options, but in...

View Article


Help for a DataTemplate

Hi, I have a problem with creating a DataTemplate for a PropertyGrid. Should I see an object that contains a collection of my class MyClass dimensioned on the number of elements of a second collection...

View Article


WPF Event after setting template in code

I am creating a tab control as part of DataJuggler.WPF.Controls located at http://datajugglercontrols.codeplex.comI am not sure why, but the tab control for WPF is so much more complicated than the...

View Article

Image may be NSFW.
Clik here to view.

Change the focus of button,capture enter key from scanner

 In the below snapshot,the user clicks on scan,and below popup appears(grid with two columns item,barcode)..The User uses barcode scanner...When the user finishes scanning last item i.e 2nd item (in...

View Article

Change one datepicker automatically based on previous date selected

Hi guys,within my application, I have several date pickers for a user to select dates from. So here is my question: When a user selects a data from one data picker  (for example, they pick 31 January),...

View Article

DataGrid & CheckBox & RowDetails Visibility

Hello,We are using a datagrid in the application, in the datagrid is a template column which contains a checkbox.<DataGrid Grid.Row="1" ColumnWidth="SizeToHeader" AreRowDetailsFrozen="True"...

View Article


WPF DataGridRow IsMouseOver Foreground is not working while it's IsSelected?

Hi,I found that DataGridRow Foreground IsSelected and IsMouseOver is not working well. I'm looking a solution to set Foreground IsMouseOver overriding Foreground IsSelected when it's IsSelected for...

View Article

FrameworkElement.LanguageProperty.OverrideMetadata

Hi,as suggested in many articles I use FrameworkElement.LanguageProperty.OverrideMetadata(typeof(FrameworkElement),new...

View Article


WCAG Validator for XAML / WPF

Is anyone familiar with a Tool for validation of wpf-based solutions against the WCAG requirements for accessibility?

View Article

DocumentViewer translation

HiI'm hosting a DocumentViewer (WPF control) on a Windows Forms control. The DocumentViewer works fine but my problem is if i use the application on e.g. a Spanish or France OS then the tooltips etc....

View Article


Image may be NSFW.
Clik here to view.

About Visual Basic Linq to SQL ON Windows Phone

Dear All, I have a question about using vb linq to sql on windows phone, I want to handle local database, and I create a table 'Contacts', it has three columns.the three columns is ID, Name,...

View Article

WPF Bitmap image constructor Error IE10

As We installed IE10 on windows 7 SP1 we started to get error while we are creating bit map image by passing URI to constructor. Below is stack trace of error.{System.IO.FileNotFoundException: The...

View Article

Borderless Transparent Windows Not Rendering in Web Conference sessions.

Problem:  WindowStyle = None, AllowTransparency = True, Background = null.  Contents of windows rendered in this fasion are not being displayed in web conferencing applications like WebX or Arkadin....

View Article
Browsing all 18858 articles
Browse latest View live


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