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

Image may be NSFW.
Clik here to view.

how to bind Sum of Datagrid column to Textbox ..i am using wpf and entity...

how to bind Sum of Datagrid column to Textbox and change a value of Total textbox when enter Any Value to add and less textboxDipak Sutare

View Article


How to map to custom classes and assemblies with version and strong-name signing

I want to map the XML namespaces to specified version of assembly (with strong name).Based on the articlehttp://msdn.microsoft.com/en-us/library/ms747086(v=vs.110).aspx i used following...

View Article


Image may be NSFW.
Clik here to view.

Can't load data to a DBContext

Hi there:I'm using VS2012.I'm creating a DBContext using ADO NET Entity Data Model, generated from a SQL Server Database.I'm trying to load data into my DBSet<Entities>:As you can see, my...

View Article

Why Illustrator files doesn't flexible and not fit within the Container?

Hi,<DrawingImage x:Key="ShoppingIcon"><DrawingImage.Drawing><DrawingGroup><DrawingGroup.Children><GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 142.892,-41.1384L...

View Article

Unable to change Style on runtime while using Triggers

Hi,In my WPF based project, I am using a WPF Expander control, which is by default assigned a Style in XAML as seen below:<Expander IsExpanded="False" x:Name="epdTest" Expanded="epd_Expanded"...

View Article


Image may be NSFW.
Clik here to view.

Create local data for wpf/ef project

I posted an issue with a project here.   I've been asked to upload it so that the person helping me can better see the problem.  My DBA is hesitant about creating a backup of the SQL database so I'm...

View Article

Binding user control to property

Im trying to figure out how to accomplish the following. I have a window that will host a number of different UserControls that will be loaded at runtime. When I create the controls (in code), I want...

View Article

InvalidOperationException: A TwoWay or OneWayToSource binding cannot work on...

This is my first effort with MVVM.  I'm getting an InvalidOperationException and I just hope it is something simple.  Here is the full error messageInvalidOperationException: A TwoWay or OneWayToSource...

View Article


Pivoting an image

Hi,I have a C#, WPF, xaml, MVVM application.I have in image that I would like to be able to pivot, move left and right about 45 degrees from its top center.I have this working in a win forms app but...

View Article


MVVM separate Collections.ObjectModel from Main Logic

Hi MS Developers,I'm discovering the MVVM pattern, and something is bothering me:The separation of the view from the business Model and business logic is a very cool thing, and I wuld like to use this...

View Article

unified way to add a WPF GUI child to a parent

Hi all,Is there a unified method or property in all WPF GUI parents that allows a child to be added?Thank you

View Article

How can I change which property DisplayMemberPath binds to, dynamically,...

Part of my View has a listbox that lists users.  The underlying UserClassificationViewModel has a property that exposes a list of User ViewModels.  I want the user to be able to change the listbox...

View Article

Graphic representation of BigInteger array.

Hi, I'm beginner programmer and I'm trying to graphically represent an array. I have class named Macierz witch I use to make some calculation from values in array. Now I want to show user graphical...

View Article


embedding a color profile in a BitmapSource

Hello,My application is opening, displaying and processing BitmapSource objects. I process them by reading in the bytes via "BitmapSource.CopyPixels(...)", and creating new ones based on the processed...

View Article

Image may be NSFW.
Clik here to view.

WPF/EF - Refreshing a combo after adding new item

I have code that adds a new item to a combobox if a user enters data that is not part of the current list.  The problem is that the new item gets added but doesn't stick to the control and displays the...

View Article


WPF Printing -- how do I print text so print driver recognizes it as TEXT

I have a print application (in WPF/VB.NET) that uses the following method (boiled down sample) to print:<pre>        Dim fd As New FixedDocument()        Dim pc As New PageContent()        Dim fp...

View Article

The name "someName" does not exist in the current context?

Hello. I've created a class that derives from the "Image" control. I've declared this class in my project as:namespace MyProject.SubNameSpace1 { public class MyImageClass : Image { ...etc...I then map...

View Article


Image may be NSFW.
Clik here to view.

Combobox in datagrid question - displaying a property of the combo in a textbox

I'd like to put a property of a combobox in a textbox on a datagrid.Combo in a datagrid defined like so: Xaml:<DataGridTemplateColumn x:Name="cboPartBCPT" Header="CPT Code" Width="100"...

View Article

navigating through wpf TabItem and set focus on control

Hi, I  make a next button on a tabitem, so when user click it, it set focus to the next tabItem and focus on a particular TextBox but the focus setting on the TextBox, doesn't workhere is the code's...

View Article

Requirements to build Desktop Application for LAN Network

Hi and Assalam o Alaikum all,      I am not very new developer of WPF but required some guidelines. Before that I have absolutely no idea to build app like this.      I am going to build a Desktop...

View Article
Browsing all 18858 articles
Browse latest View live


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