Questions tagged [wpf]

-3 votes
0 replies
How can I bind double-click on item ListView (mvvm, no code behind)? [closed]
I have following code: <GridView> <GridViewColumn DisplayMemberBinding="{Binding Author, Mode=TwoWay}"...
asked 1 month ago
-2 votes
0 replies
What is the most correct way to fully adapt this code to the MVVM pattern?
I have a DataGrid with a DataGridComboBoxColumn. Each ComboBox should have the same drop-down: the new values entered in the ComboBox (the ComboB...
asked 1 month ago
0 votes
0 replies
Iterate over some UI properties and assign them to the relevant visual component generically
I have a WPF application where I am using UI components. What I would like to do is to pass some properties as an argument to a function, loop th...
asked 1 month ago
0 votes
2 replies
Set attached property value on UserControl using element syntax
Suppose I have an attached property "Attached.Template" of type DataTemplate in namespace ns that I wish to set on my UserControl through XAML. I...
asked 1 month ago
0 votes
0 replies
MvvmCross 5.0.3 - WPF - Navigate and get result back
I have some issues understand whether or not it is possible to wait for an answer after calling a view model through navigation. I've already tr...
asked 1 month ago
0 votes
1 replies
Memory issue when re-using System.Windows.Controls.Image with multiple images
I have a canvas on a window and in that canvas I have an image. This image is a System.Windows.Controls.Image and so it doesn't have / need a Dis...
asked 1 month ago
-1 votes
1 replies
Naming a DispatcherTimer based on a string from another method?
I'm attempting to generate 16 unique DispatcherTimers, without having to recreate the code for each. However, I cannot figure out how to dynamica...
asked 1 month ago
0 votes
1 replies
EF AddRange method does not work with big data
Good morning. Today I'm facing problem with EF 6 and AddRange method. There is an WPF application which works with ~100000 records. I wrote impo...
asked 1 month ago
0 votes
0 replies
WPF Binding issue if i call the code from other UC
Hi am having a problem to understand binding in WPF. I have got a User Control and contains ListView, and reading data from database but it take...
asked 1 month ago
0 votes
2 replies
WPF Button Trigger change child Textblock Foreground XAML
I have this button in XAML: <Button Style="{StaticResource HeadButton}"> <TextBlock Style="{StaticResource HeadButtonText}">Add...
asked 1 month ago
1 votes
0 replies
Change listbox selection to hover on key press
So I have an autocompletebox that searches for names to filter from a list. I'm trying to get the search bar to repopulate the original search cr...
asked 1 month ago
0 votes
1 replies
How can I fix my Navigation/Frame Error in WPF? Error #CS1061
I am trying to set up a navigation page with a frame inside and I have gotten this error I can't seem to get rid of. My frame has stopped working...
asked 1 month ago
1 votes
0 replies
Red border surrounding cell overlaps row header when scrolling
I’m having a problem while using the DataGrid object with row headers. Each row of the table contains an object that implements the iDataErrorInf...
asked 1 month ago
0 votes
1 replies
Why Crystal Report Formula is not working to Group Data
I am using formula fields and have created this formula to group data on the basis of null or not. but it is not working and always group data in...
asked 1 month ago
1 votes
0 replies
What different between Thread in console application with Thread in WPF application
i 'm writing a programming in c# with both console application and wpf application with a same code, but have different result. Here is code in...
asked 1 month ago
0 votes
1 replies
After WPF Polygon binding, the graphics remain unchanged
I used to assign directly to the set of points, the graphics can be displayed properly, and later found that the performance of doing that is ver...
wpf
asked 1 month ago
0 votes
0 replies
How to fix crystal report viewer for wpf stucked on printing problem?
I am working on WPF application with crystal reports. I need to display four reports on single button click. For this I am using custom closable...
asked 1 month ago
1 votes
1 replies
How to save a WPF chart toolkit as image in the clipboard?
I already was using Windows form chart and I was able to save the chart control in the clipboard with these codes: Dim stream As New System....
asked 1 month ago
0 votes
2 replies
WPF toolbar - why one button is showing ToolTip but not the other?
In my WPF app, the following XAML in Toolbar is showing ToolTip for Paste button but not for the Copy button. Question: Why it may be happening a...
wpf
asked 1 month ago
0 votes
2 replies
How do I bind a ComboBox to a list that is inside of an ObservableCollection?
So I have an ObservableCollection of type AcquisitionDeviceInfo, which is a custom class, this custom class has a property of type List<string...
asked 1 month ago
0 votes
1 replies
How to properly plot 3D surface with ZXYPositions in ilNumerics?
What I want to achieve? I'm working on an evolutionary algorithm finding min/max of non-linear functions. I have fully functional WPF applicatio...
asked 1 month ago
0 votes
0 replies
Properties in WPF User Controls [duplicate]
When I set the value of IsClosed during runtime, OnIsClosedChanged() is called fine. However, the Designer sets the value of the property but do...
asked 1 month ago
0 votes
2 replies
Using LDAP in WPF to find specific user in an Active Directory
In WPF and therefore in the C# programming language, I am trying to use LDAP to find a specific user within an Active Directory. I was able to ch...
asked 1 month ago
0 votes
1 replies
How to modify AvalonDock NavigatorWindow
I am using AvalonDock as the docking manager for my application. I noticed that it has a Ctrl + Tab window (the NavigatorWindow) but that seems t...
asked 1 month ago
0 votes
0 replies
How to fix invisible images in a usercontrol? [duplicate]
This question already has an answer here: Image in WPF Button not Visible at Runtime...
asked 1 month ago