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

Button click validate Textboxes

Hi Guys, need you ideas. It may be simple but i need your help.I got 3 text boxes, the first 2 to enter some texts & the third to get the selected value(image) from browse dialog image.I got a...

View Article


WPF Datagrid with header locked

Hi to all,I have a Datagrid with ItemSource pointing a set of machine object :<DataGrid AutogenerateColumns="False" ItemSource={Binding SelectedEntity.Machines}...

View Article


Is there a way to make a DataGrid expand a new row, when clicking on it?

We've just spent the last several months working on a new WPF application, to replace an old VB6 app (thank God that's gone!) We use the DataGrid, along with the DataGridComboxBoxColumn to specify a...

View Article

Image may be NSFW.
Clik here to view.

Staggered columns in WrapPanel or Custom Panel for ListView

I've been trying for a while now and I can't seem to replicate this model without using a grid. I've tried making some simple custom panels and a wrappanel that makes a new column after n pixels or n...

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


WPF password strength meter?

Hi ya, I'm looking for some sample of info about how to implement a strength indicator along with one TextBox for a password.My goal is clear: just show the user if the password proposed is weak,...

View Article

Problems updating datagrid from collection

I am having trouble getting datagrid to update once collection is updated. Here is my code:C#:public partial class MainWindow : Window { public Student student = new Student(); public...

View Article

Drawing multiple lines from a loop

Hopefully this is the right forum.I've only been programming for a few days.So I have this little C# program that draws a nice pattern. In WinForms the main code is private void Form1_Paint(object...

View Article


Image may be NSFW.
Clik here to view.

Filtering through multiple ListView WPF

I'm creating an application that uses WPF, MVVM and using the singleton pattern. I have an issue however when trying to filter through a list. Here is my scenario of using the singleton pattern and...

View Article


How to license a wfp application?

We developed a wpf application, and would like to assign the license for it to sell. How to do license management, such as serial number, hardware integration, etc... Any ideas and/or hyperlinks for...

View Article

ObservableCollection not firing proper CollectionChanged event

WPF and EntityFramework 6 I've created entity Customer, then in CustomerViewModel I've implemented ObservableCollection and subscribed to event CollectionChanged. In mainWindow DataGrid.ItemsSource is...

View Article

Touch Move events not working for child when Touch Move event of parent is...

When Moving touch on Window Touch Move of Window is called but when touch move reaches Child (Ellipse)Touch Move event is not fired But I atleast I want to identify if the Touch is on Ellipse or not....

View Article

Image may be NSFW.
Clik here to view.

OpenGL Rendering with WPF

HiI have read the other post and forum on using windows form host control on how to Render OpenGL in WPF.I am using a CAD kernel(Open cascade) based on C++ and i have created C# wrappers using SWIG.I...

View Article


There are no WPF project templates for C++

Why can't I find any WPF Application templates for C++ neither among installed templates nor online?

View Article

WPF Image Source

I couldn't find anything that matched although I found ways to get this to work another way.  My problem is I'm following along a youtube video on using WPF for designing and I was trying to use Visual...

View Article


Convert String to GlyphIndices

Hi: What is the best way to convert a string to the unicode numbers in order to create a string of them so you can place them into theGlyphIndices property of a glyphrun?Here is the method I will be...

View Article

Image may be NSFW.
Clik here to view.

ListBox ItemTemplate style?

hi all,      i need a listbox style like below image,using itempanel template.in my listbox has 2 rows only and n columns.it should be ordered like 1 2 3 4 9   10 11  125 6 7 8 13 14 15  16is that...

View Article


List box selection changed issue

HI,I'm using D&D events from list box to text box which is working fine but some times when you are choose item fromthe list box and the item marked as with blue line nothing happen,you cannot drag...

View Article

Trigger a WPF hidden UI from a Lync client

Hi I need to trigger a WPF Dll from a share desktop button click from the Lync client. example A and B are on chat, there may a conference conversation, now clicks the share desktop button in the Lync...

View Article

LostFocus event of usercontrol should fire only when focus moves out of...

I have a User Control that has several children elements, including checkboxes and textboxes. I would like to trigger the LostFocus event for my User Control only when the focus is lost on the entire...

View Article
Browsing all 18858 articles
Browse latest View live