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

Datagridview in WPF

I have some question I need to change  cells in datagridview  from textbox in wpf How can I to do this ?

View Article


DataTrigger does not display a value in a particular control using a DataBinding

Good day,I have a datagrid that use a DataGridTemplateColumn, in the CellTemplate I have a ContentControl that use a DataTrigger and if the trigger create a textblock with the text property set with an...

View Article


How to persist updated DataGridTemplateColumn value

I am new to WPF and facing some issues with datagrid . My ViewModel has an ObservableCollection Report Of class T_Reports.//EF generated code public partial class T_Reports      {        public int...

View Article

WPF Save and Load - Load Error

Hi everyone, I'm having a weird error on with this small basic app I made. I can insert the Name and Price of the Listbox fine, it does Save. However, when I load it the problem occurs. Example : Name...

View Article

ListViewItem Template with ColumnHeader

Hi everyone, I'm now learning MVVM model, and currently working with ListView Control. I use a ListView control to display a list of item . For example : List of songs with Title and Author.By...

View Article


.Net 4.5.2 breaks Aero interop

Hi,I have a simple of example illustrating that a regression was introduced in .Net 4.5.2. This works in .Net 4.5.1. For the sake of discussion, I also tried the 4.5.3/4.6 preview and its still...

View Article

HElP: How to access database in XBAP

I want to put my data from textboxex to table in database in WPF .Please Guide me to do that .

View Article

Accessing DB from XBap

Hello, I am just discovering the greatness of 3.5 and am a little hazy on how a WPF Browser application works.  If I host this application on one of our servers can I connect it to a database on that...

View Article


Set Image as a label template

hi,I am trying to set an image as a label's template.here's the code I've written so far :<Label.Style ><Style TargetType="Label"><Setter...

View Article


Read file properties

Hi guys. I'm working on a project in which I play music and I would show on the screen the attributes (Title, Artist, ...) of the song that I read. I tried to search but I didn't understand how to do....

View Article

How to write setters for DataTrigger for both success and failure of the trigger

I have the following Datatrigger using multibinding and converter.<DataTrigger Value="False"><DataTrigger.Binding ><MultiBinding Converter="{StaticResource PVTConverter}" ><Binding...

View Article

Best way to implement interaction beetween .Net application with Excel...

Hello community,I'm in charge to investigate a way to interact with Excel within my .Net (WPF or Winform desktop application).The goal here is to have the full or almost full capabilities of an Excel...

View Article

Binding to normal c# property not working

<Window x:Class="Le1_503.win1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="win1" Height="300" Width="300"...

View Article


simulation a car movement in wpf

please..how can make a simulation of car rotationin c# wpf code

View Article

Custom Datagrid Cell Content?

I have datagrid where I would like to have the cell content look like engraved text.This is basically two labels. One black and one white where the white is marginally offset to give the appearance of...

View Article


NotifyOnValidationError or ...?

Hi. I have the following.<TextBox Name="txtCostoNeto" Text="{Binding Articulo.CostoNeto, UpdateSourceTrigger=PropertyChanged}"/> public class Articulo { ... public decimal CostoNeto { get; set; }...

View Article

Code Help

So I need to know how to make a button that when i click it it makes an image appear on the application I'm creating.

View Article


DisplayMemberPath for WPF CustumControl

Hi, I'm writing CustumControl inherited from UserControl.So, I have a ListBox that contain Image as ItemTemplate. I want to do a DisplayMemberPath property same as the ListBox or...

View Article

Image may be NSFW.
Clik here to view.

Focus on mouse pointer on click- WPF

hi,I want to focus the position of the mouse pointer when the user clicks.Exactly like the focus we get on clicking the ctrl key to locate mouse pointer after enabling it here. Can anyone help me with...

View Article

How to handle event in MVVM ?

Hi everyone ,I'm currently learning to use MVVM model , about command handling, it's ok for me now. But , about Event handling, it causes me some difficulties.  Can anyone help me to solve this problem...

View Article
Browsing all 18858 articles
Browse latest View live


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