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

Property editing not available

I have lost the ability to edit properties using the property editor in VS 2010 Pro.The XAML that shows this problems is:<Window x:Class="MainWindow"...

View Article


images not showing up

this is my code, I cant see what's wrong maybe ye can shed some light--------------------------------------------------------------------------(xaml)                                        <Window...

View Article


Error_1_The type or namespace name 'DateBinding' could not be found (are you...

my code works but im getting this error can someone explain what it means. Thanks in advance------------------------------------------------------------(Xaml)    <Window...

View Article

WPF ResourceDictionaries - Merging at runtime to create different application...

I have an application that will have numerous configurations (also can be thought of as a plugin model) - all based on a baseline configuration. So my baseline configuration's Views and ViewModels are...

View Article

In XAML, how do you use a namespace prefix in a property element syntax?

Hello,I need to use a PasswordBox in MVVM, but since PasswordBox's Password property isn't a dependency property, and can't be bound to a property in the ViewModel, I went searching and found a nice...

View Article


Exception when printing XPS-Document

Hallo,with our application document will be printed via the XpsDocumentWriter.Almost everytime the print works without any problems.But from time to time the following error occurs:PrintTicket provider...

View Article

Converting WinForms to WPF - Unbound Datagrid?

Originally posted in VB, was told it would be better asked here...Due to a previous issue I had where the Designer lost most of my WinForms design, since I'm rebuilding my forms for this program from...

View Article

Image may be NSFW.
Clik here to view.

visual studio/blend and mvvm

hello,i been working with wpf and mvvm for a while now.up until now i created the view model class and in the code behind of the window i wrote:this.DataContext= m_mainPageVM;and it all worked fine,...

View Article


Dependency Property Choices From XAML Instead of Enum

I have a custom CheckBox UserControl which displays differently depending on the dependency property "CheckBoxStyle".  This DP is based on an enumeration:Public Enum Styles valve_circle...

View Article


Collection View Source-- Add image to the header

XAML<Window x:Class="cvsFormulaOne.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"...

View Article

Image may be NSFW.
Clik here to view.

How to get The Modified date of image ??

Hello All,                I am trying to get the Modified  date of a  image using c# like in Mozilla FireFox. I getting some other property's but not getting this  is Any option to get this .with...

View Article

WPF datagrid filter doesn't work dosen't work

Greetings,I'm trying to have a WPF data grid results filtered and I can't get it to work.  The filter event never fires and all the rows remain.   <DockPanel.Resources>...

View Article

Drag and drop between 2 listboxes, COMException

Hi,This problem occurs every now and then when I drag one element from ListBox to the other listbox. "Error HRESULT E_FAIL has been returned from a call to a COM component." COMException is thrown when...

View Article


Confusing Question About MVVM and Window Closing Event (Setting Cancel to...

Strictly adhering to MVVM, I'd like to cancel the closing of a window when the user clicks the "X" or standard Windows close button.The ViewModel is as follows:private...

View Article

Make datetime field format as per the regional setting of the machine. WPF...

Hi,I have a datetime field in WPF(MVVM). and it is binded to a text box.I want to put the string formt of the text box as per the format of the current system regional settting. Can you please help,...

View Article


Nested DataGrid with inner datagrid in rowdetails template

Hi,I am using nested datagrid with inner datagrid in my rowdetailstemplate. I am able to get functionality of tree structure using nested grid. Inner datagrid has multiple rows with one of the column...

View Article

Multiple level treeview

Hi all,I want a treeview with several level, but each time a different number of level.I do : In xaml : <TreeView Name="TreeViewTask" ItemsSource="{Binding}"...

View Article


TextBox in TreeViewItem LostFocus event

I have a textbox inside the TreeViewItem.  The textbox doesn't lose focus when selecting another item in the treeview or in the application.  The user can select a TreeViewItem, which enables focus on...

View Article

Image may be NSFW.
Clik here to view.

WPF app with resize property will crash in Windows 8 OS (0x88980406 )

Dear All Can you help to analysis this issue?WPF app with resize property will crash in Windows 8 OS (0x88980406 )<<Reproduce Step >>Create a Dialog based WPF application with...

View Article

maximize window wpf

I have a window with the following properties:ShowInTaskbar="False"WindowStyle="None"ResizeMode="NoResize"Topmost="True"AllowsTransparency="True"Background="Transparent"and I want to maximize the...

View Article
Browsing all 18858 articles
Browse latest View live


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