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

MediaElement password limitation?

We have a WPF application that uses MediaElement to open stream URL on the network.   It works perfectly until we point to URLs with basic password authentication.   And the stream will not play with...

View Article


How to detect duplicate data that is not a primary key

I have a situation where a table represented by EF (database-first) contains a primary key and another field that can be left blank but cannot be duplicated.  How do I validate that non-primary key...

View Article


WPF and C# based Windows Application Software Registration and Licensing...

How to create 30 days trial version software and unique license key for single user Desktop/PC which will run for a year using C# and WPF.Musakkhir Sayyed.

View Article

DataGrid Resize causes Ex: An ItemsControl is inconsistent with its items source

I have a DataGrid with ItemsSource bound to an ObservableCollection. I modify properties on objects in the ObservableCollection on another thread but I use Dispatcher.BeginInvoke to make those changes....

View Article

How to bind the viewModel to view

I have created wpf code in the main window ,now I want to use MVVM. I have copied all the data from the xaml main window to user control and created new class on  the view model folder with the code...

View Article


How to bind check box, radio button and combo box in datagrid using WCF,C#...

I am using Datagrid to edit and delete the row from a Datagrid. I designed checkbox, radio button and combo box using datagrid Template Column, for e.g. <DataGridTemplateColumn>...

View Article

Using MVVM instead of main window for the following code

I'm using the following code which is copy pasted from the main window whichwas working as expected ,I have created View which is user control and put the code of the code from the main window XAMLIn...

View Article

how to enable xaml browser application through problematically vb.net for...

Dear Exports,Below code is not working after deployment. we are using VS 2012 WPF browse application with VB scriptsDim i As Integer = -1        Dim s1 As String =...

View Article


HWndHost BuildWindowCore and threads

In the docs for HWndHost.BuildWindowCore http://msdn.microsoft.com/en-us/library/system.windows.interop.hwndhost.buildwindowcore%28v=vs.110%29.aspx, which is the method you override to create your...

View Article


Image may be NSFW.
Clik here to view.

Question about sorting a detail table

I originally posted this question here and was referred to this forum.  I'm just going to start fresh here and ask this question again.  Using WPF and EF, I used the EF wizard to create a master/detail...

View Article

Default Font in Pages

I have a WPF application with a frame and pages.  I have a resource dictionary set in my app.xaml but cannot get the default styles in my resource dictionary to apply to my Pages.  In the resource...

View Article

How to create dynamic event handler for MEF component events using only...

I have an application that is comprised of MEF components that are configured as a complete application at run time. The components have events that need to be reported to the main window's code. Since...

View Article

upload multiple image and video files at once using wpf with c# application

Dear All,                 How to upload multiple image and video files at once  using c# with WPF application

View Article


How to return to the previous page, and keep previous page content.

Helloi having a search page, that sends the search term to the results page when search is pressed,i have seen it is possible to use NavigationService.Navigate to navigate around pages, however this...

View Article

RibbonComboBox SelectionChanged not firing

I'm developing an app in .NET 4.5.1 WPF/C#. I have added the Microsoft RibbonBar to the main window. On it, I have a RibbonComboBox which I populate at runtime with labels. Wen the user selects an item...

View Article


visual studio 2013 cannot find reference "Microsoft.ReportViewer.WinForms"

visual studio 2013 cannot find reference "Microsoft.ReportViewer.WinForms"

View Article

Question about sorting Detail table

Someone posted almost the exact same question here.  I attempted to use that answer in my situation but am not sure how to form the syntax.  I'm using WPF and EF.I, too, have a master/detail situation...

View Article


Animate ListBox Items - Silverlight

Hello,I have been struggling with this for months and months now and can't seem to get my head around this.I have a Silverlight application with a listbox and a button in the app bar. The listbox has...

View Article

Problem with saving InlineUIContainer items in a FlowDocument

Hi Everyone,The following code is displaying correctly in a RichTextBox but when I save it and reload it, the InlineUIContainer item is missing (other text and formatting is displayed as normal):Line...

View Article

Image may be NSFW.
Clik here to view.

Datagrid colmun width * question

hii have a WPF app , in my main view i have a stack panel with 2 group boxes , each group box have a datagrid inside it look like this when i try to change the width of the last column  "notesColumn2"...

View Article
Browsing all 18858 articles
Browse latest View live


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