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

Get values from the EventHandler's parameters in...

Hi, I just have seen that, we can get the change notifications from the DP (defined already in a class)  by using the DependencyPropertyDescriptor and AddValueChanged. DependencyPropertyDescriptor...

View Article


Tap to the Readonly DP's Notifications using the OverrideMetaData

Hi, I have seen that, We can hook the PropertyChangedCallBack to the existing DP ,  by providing our own overrided metadata in the static Ctor . I have tried to do the same to the IsMouseOver...

View Article


Image may be NSFW.
Clik here to view.

Be our WPF TechNet Guru of 2016 and become renowned in community and...

A new year! A new start for the TechNet Guru Awards 2016! 2015 Guru was soooo last year! 2016 Guru is where it's @ my friends!This is when you make your mark on history and stamp your authority on your...

View Article

Image may be NSFW.
Clik here to view.

WPF Tool Window & Windows 10 UI Glitch

Hi there,When I create a tool window from my parent window, the Windows 10 black border around windows disappears for the left, right, and bottom borders of the window. The top border remains there...

View Article

ClickOnce appication and Browser cookies

Is it possible for a clickonce application to read browser cookies of the server that delivered the application?  We have a scenario where the application is behind a proxy that sets cookies for user...

View Article


Image may be NSFW.
Clik here to view.

Listbox Scrolling Effect

Hello Everyone!I have this listbox. I resized it to only show one item at a time.  And I use this buttons to change to selected item, and 'scrollintoview' to show the selected item.Now I would want to...

View Article

Datagrid bounded to Observable Collection not working

Hi,I'm guessing I made a really stupid mistake but I cannot see it for the life of me, and I hope someone can point out my stupidity!I made up a user control to be placed into a ContentControl...

View Article

Basic architecture related question in WPF MVVM Light

Hi We have just started working on WPF.  We have designed below architecture for our application; please let me know if anyone has any input in this:1.View – All XAML Window and User Controls...

View Article


WPF Datagrid select just one row and populate several text boxes

I'm very used to WinForms but am now coding WPF. I have a Datagrid and I can populate it from a table (actually several tables) but I need to get many of the fields on one row and use them to populate...

View Article


Icon problem in WPF

I created a picture viewer in wpf and applied a icon using project properties.Icon was downloaded from internet.But now adobe reader icon also changed to my icon.I tried reinstalling adobe reader 11...

View Article

how to bind the line to circle and movement instead of path?

i change x and y directly to move the circle, make the multibinding for this movement instead ofthe path defined in xaml?after add multibinding, the line is not connected to two points, without...

View Article

Load list UI in background

In a real application, I have a long list, which shall be rendered with some heavy templates, so the requirement is to use a virtualizing panel and to load the "other" items in the background - thus...

View Article

Image may be NSFW.
Clik here to view.

Child Controls in the User Control(UC), are not initiating properly until the...

Hi, I am having a form (where the user will enter the data), with some tabs on the left side and upon clicking the each tab on the left side, I will decide which usercontrol to be shown, to the user on...

View Article


Binding ComboBox SelectedIndex to Method in wpf

hello guysHow can I binding a method from class to ComboBox SelectedIndex?This is my method in a class: public static class myClass { private static int tempComboIndex = 0; public static int ComboIndex...

View Article

Displaying Current Record values in ComboBox.

I am developing a WPF/C# app that is partially functional.It has ComboBoxes, TextBoxes, and DatePickers that are all bound to a multi-table accdb query, and it has navigation buttons(First Record,...

View Article


Image may be NSFW.
Clik here to view.

How to Manage Privileges C# WPF

I'm writing my first "large" program in C# and WPF. It's a Database system (MySQL) that has three main items, Contracts, Companies and People. I have the main UI down for the Companies section of the...

View Article

xaml compile control

hither's a option for enable the compiler to check also the xaml code when it builds the project?The xaml code is checked only when the file is opened, it would be very useful check every xaml files,...

View Article


How to make Margin property to propagate to the children

Suppose I have a StackPanel(or, a Label), and I set Margin property on it. Now, I want all its children should have same Margin. This behavior should get applied automatically. I can use Binding, but I...

View Article

DataGridTemplateColumn ComboBox in CellTemplate interfering with binding update

The block of code below is to allow the user to select a line style for a series. The combobox will have several drawn line styles to choose from.If I comment out the CellTemplate section then the...

View Article

dataGrid row

Hi, I have a datagrid that is bind to a DataTable. I add values in datagrid cells and save-delete-update rows.If I add a new value in  one cell only of datagrid row, I want, after the msg, the user to...

View Article
Browsing all 18858 articles
Browse latest View live


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