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

Should we use MvvmLight.Command or MvvmLight.CommandWpf?

In our WPF app we're currently using the following in our viewmodel classes:using GalaSoft.MvvmLight.Command;Should we be using the following instead?using GalaSoft.MvvmLight.CommandWpf;Rod

View Article


Close WPF window that is running within another WPF's grid.

Hello, I have a Wpf window(MainWindow) with 1 grid (Grid1) that contains 1 button(button that when clicked launches another WPF in Grid2) and a second grid (Grid2). The second window (Window1) is...

View Article


Close WPF window that is running within another WPF's grid.

Hello, I have a Wpf window(MainWindow) with 1 grid (Grid1) that contains 1 button(button that when clicked launches another WPF in Grid2) and a second grid (Grid2). The second window (Window1) is...

View Article

Using System Colors for themes

Currently, i have created Resource files for Blue, Black, Gray Themes and respective brush resource files for each theme.These themes can be selected using combobox. I am trying to explore using the...

View Article

Alphabetize buttons in scrollviewer with wrappanel C#

I have a C# wpf application with:<GRID><GroupBox><ScrollViewer><WrapPanel><Button x:Name="button1"/><Button...

View Article


Set AllowsTransparency = True causes storyboard animation very slow

Set AllowsTransparency = True (WindowStyle must set to None). Then the storyboard animation is very slow. To test this condition, you can just use a simple animation to enlarge a StackPanel height.BTY,...

View Article

how to get current windows all resulation list

 hi     in my wpf application i want to show current windows all resulation list in a combobox.     how i can get the resulation list?Regards atik sarker

View Article

Image may be NSFW.
Clik here to view.

WPF: Bind to ErrorValidation Message in Style

Hey Andy, how would I go about Binding to the error messages for a single TextBox and then displaying them in the ErrorTemplate, instead of just adding them all to one large list? Example (Photoshop):I...

View Article


[Solved] Attempting to Use String Resource in XAML but member not recognized

Hello all. I've got a bit of a problem that been slapping me around for a few hours.  Please keep in mind that I'm quite new at WPF and XAML, so I'm sure I'm doing something silly.Following some guides...

View Article


New Custom Control has empty layout

Hi,I tried to create a Custom Control in WPF and for some reason the layout is empty. My Custom Control is a TextBox.VS generated this for me: public class AutoCompleteTextBox : TextBox { static...

View Article

Prism v5 and ControlTemplate

How can I define a Region inside an ControlTemplate...Is there also a workaroung as by DataTemplates?

View Article

WPF Time to learn

Hi, I was considering to invest some time to learn WPF with C#.After reading some articles and see some videos I see a lot of people that started to learn WPF long time ago and now are complaining that...

View Article

Image may be NSFW.
Clik here to view.

You could be our Fabulous February WPF Guru!

Fabulous February is here at last!This is the month some of the greatest names in TechNet Wiki history will step forth and give us knowledge!That's YOU by the way!Drop us a little ray of sun, a few...

View Article


How to Set Richtextbox Horizontal , vertical alignment into richtext box text...

How to Set  Richtextbox Horizontal , vertical alignment in code behind ? if i am set MyRichTextBox.HorizontalAlignment=HorizontalAlignment.Right and...

View Article

Image may be NSFW.
Clik here to view.

How to unchecked "pivotGridControl" CustomFilterPopupİtems in wpf

When my pivotgrid load i wanto unchecked this item.How can i do that programmatically?You can see in image for details. Please help.

View Article


How to catch the ValidateValueCallBack Exception of the Dependency Property

Hi, I am having the DP, in the ViewModel, which is bound to the textbox's text property. Recently, I have used the ValidateValueCallBack to validate the value of the DP. Hereby I have shared the...

View Article

ListBox columns, headers and population

I am writing a free program to allow people to remove simple metadata from image files to aid with website loading.I have been trying to display the required information in a listbox, but am having a...

View Article


Image may be NSFW.
Clik here to view.

WPF: Binding ToolTip to Popup

Hey, I have used a Popup instead of a ToolTip to display my errors as this fits my needs more. It all works pretty smooth and how I want, however im struggling to get the ValidationError messages into...

View Article

Entity Framework, Handling the Passwords? Binding isn't allowed, how do you...

Hey, Andy. So, my TextFields work and get validated, however, PasswordBox's don't allow binding so I must sent it's content through the CommandParameters. So I can't do this:<TextBox...

View Article

C# upload/download shared file from my onedrive without login in/or using own...

I've created a form app in c# for our archery club which keeps info about members and results. In this app members can add their results from the range. This app also checks users for their facebook...

View Article
Browsing all 18858 articles
Browse latest View live


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