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

Why don't these two gridsplitters do anything?

Hi, I've just started learning WPF and have run into a problem. I don't understand why the two gridsplitters in the below code don't actually allow me to resize things. Could someone let me know...

View Article


How to construct a photo viewer similar to photo viewer app in Windows 10

HI,   I ma looking to construct a photo viewer similar to photo viewer app in Windows 10 with left and right arrows over the edges of image. I am very bad at xaml design. Can any one suggest some xaml...

View Article


invoke a method when one of check boxes changed

hii have some checkboxs and each of bounded to a property that implemented a INotifyPropertyChanged as follow: public class CollectOptions : ViewModelBase { #region Properties private bool...

View Article

best data type to bind with DataGrid control

hii want to know what is the best data type (Collection, List, ObservableCollection, Dictionary, ...) to bind to a DataGrid control that makes the previewingfast, (hint; my data grid will be consists...

View Article

How Know when base window load what is state of focus?

Hello to allFirst of all I am from Iran and I Cant Speak English Very Good sorry for this.I have two windows and in first window i have button which has trigger  mouse over(storyboard...

View Article


C# WPF- Changing label content automatically

Hello,I want the sentences to change automatically every second while program running. I tried but need helpFor example;1- Hello,2- My name is3- Max"This will change automatically" =...

View Article

Unable to show appropriate Popup message when mouse is over WPF Radio button

I have two radio buttons (RadioButton1 and RadioButton2). I need to display appropriate popup message when mouse is over one of the radio button. Hence I have following requirement Requirement 1.When...

View Article

When user scrolls through DataGrid, some cells gets overwritten with other...

When user scrolls through DataGrid, some cells gets overwritten with another cell's value.

View Article


Minimized window location when ShowInTaskbar="False"

I created a new WPF application and added few new windows, for this windows applied ShowInTaskbar="False" WindowState="Minimized" ( these properties applied all windows except main window )after...

View Article


INotifyPropertyChanged not working properly with Navigation Property in...

I have created a Master-Child scenario to display a collection of items in a child DataGrid based on a navigation property of the selected record in the master DataGrid.  So when a record is selected...

View Article

Lost in WPF land

I am drawn to WPF because of the ability to use 64-bit colors with the following code:Dim Red, Green, Blue As Double Red = 32768 Green = 32768 Blue = 32768 Dim myScRgbColor As New Color() myScRgbColor...

View Article

wpf binding not refreshing if equals and gethashcode

My WPF binding is not working because my viewmodel has overwritten Equals and GetHashCode. If i comment it out (region Object-Stuff), everything works fine. Further info about my reasons: All my...

View Article

Image may be NSFW.
Clik here to view.

Header is not updated in HeaderedContentControl when dynamically change the...

Hi, We have used the TreeView with populating different class objects (ViewModel,ViewModel2) into its ItemsSource property as per in below code snippetAllContents = new...

View Article


How to import or use viewport 3D?

Ok well i am new to 3D objects and models in visual basic and some one told me there was a thing called view port 3D that would let you make 3D things. Now i looked in the chose items section for my...

View Article

Image may be NSFW.
Clik here to view.

Using Windows Runtime Component in WPF

Hi, I'm trying to create Registration-Free Windows Runtime Component and use it's Classes/Xaml in WPF application. Reference:...

View Article


Treeview.Items.Clear() method return null exception (e.NewValue==null) in...

First of all I am from Iran and I Cant Speak English Very Good sorry for this. I made something like OpenFileDialog in Win.Form and work correctly. after  for better User Interface I try to make it in...

View Article

WPF DataGrid Vertical Scrolling with Mouse Click Not Working

If row grouping is turned on and if I want to scroll down to select the cells of a column while keeping my mouse left button clicked, scrolling doesn't work. Same thing works if I turn off the row...

View Article


How to construct a photo viewer similar to photo viewer app in Windows 10

HI,   I ma looking to construct a photo viewer similar to photo viewer app in Windows 10 with left and right arrows over the edges of image. I am very bad at xaml design. Can any one suggest some xaml...

View Article

How to close the ContextMenu on clicking outside of the WPF application?

Hi All,Am facing an issue to close the ContextMenu on clicking Outside of WPF application. Am having an requirement to close the ContextMenu of NotifyIcon on clicking on the taskbar location. I have...

View Article

Panning Canvas in WPF using C#

Here I need to apply panning to my canvas.... I have tried the same TranslateTransform as in case of image panning but i got some unexpected behavior... my code is as follows....        void...

View Article
Browsing all 18858 articles
Browse latest View live


Latest Images

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