Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
37 views

Duplicate Points from Scatter Plot are displayed in Live Charts Core

I'm new to C# WPF and Live Charts Core, and I'm trying to build up my knowledge in that field. I have an application that shows every second the output that comes from a random number generator as a ...
Anas Mousa's user avatar
0 votes
0 answers
46 views

ImageSource of Image.Tooltip unreachable

In the code behind I cannot seem to access the Image (or any child) control of a Tooltip of an Image. Setup: I have a UserControl with an image that on hover displays a tooltip with a larger version ...
SimonJohnson's user avatar
-1 votes
1 answer
84 views

WPF screenshot not saving correct size [closed]

Hey all I am trying to figure out why my output is not looking like I am wanting. Currently my layout looks like this: <Window x:Class="howto_wpf_number_icons.Window1" xmlns="...
StealthRT's user avatar
  • 10.6k
0 votes
0 answers
46 views

WPF UI ContentPresenter Dialog Appears Behind WebView Loaded from Navigation

I'm building a WPF application using WPF UI. In my MainWindow, I have a NavigationView that loads pages when menu items are clicked. One of these pages contains a WebView, and that page has a button ...
Naveen Kumar's user avatar
-1 votes
1 answer
57 views

Custom Control Partial declarations of 'DigitTextBox' must not specify different base classes

I'm building a Custom Control. Added an event to the xaml. Compiler complained, I added an x:Class entry. Then it complained that my class needed a partial verb. And now it's complaining: "...
Nottoc's user avatar
  • 103
0 votes
0 answers
25 views

How can I get the WPF ResizeGrip control and the Cursor to sync in position when I move the mouse using ScaleTransform?

I have a WPF desktop app that has a grid control that floats on the screen. With the code below I resize my grid with a ResizeGrip located on the bottom right corner of the grid. I have attached the 3 ...
g00n3r's user avatar
  • 135
0 votes
1 answer
43 views

Wpf Edit Cell on e.Cancel

I have a WPF DataGrid and I'm trying to handle a scenario where an item does not exist in my ViewModel. When this happens, I display an error message and attempt to set focus back to the DataGrid cell ...
shiblabi's user avatar
1 vote
1 answer
51 views

C# WPF Create Context Menu for DataGrid Cells

I'm trying to display a context menu on individual cells of a DataGrid. When the user right-clicks the cell, I want a context menu showing 'copy to clipboard' to appear, and upon clicking it, it ...
Bradley Canty's user avatar
1 vote
0 answers
37 views

WPF: Expander inside another Expander

I have an Expander in my WPF application and it works fine. I have a property called AAA inside my own DataContext called BBB and this object contains an ObservableCollection of Products. This ...
Dalde7's user avatar
  • 11
0 votes
0 answers
40 views

Unsetting property value that was set in the default style

Working on an application that has areas, with different foreground color for each area. Generic skeleton of the issue would look like this: <Window Style={StaticResource GrayForeground}> &...
XAMeLi's user avatar
  • 6,289
0 votes
1 answer
43 views

WPF Datagrid Itemsource Parameter not calling the setter when child object is changed

i am working on a WPF application using caliburn micro. I have a datagrid which has a list of a custom model as the itemsource. The Model looks like this: public class ProductModel : Screen { ...
Aimluv's user avatar
  • 1
0 votes
0 answers
38 views

How to add AutomationID to WPF Combobox items

How I can add AutomationID to WPF Combobox items for test automation? Now when I examine application with Inspect.exe, FlaUInspect or Windows narrator all I can see is a text of a list item. I found ...
Jukka Timlin's user avatar
0 votes
0 answers
53 views

Unable to Retrieve the Correct Size of On-Screen Keyboard (TabTip.exe) Using Win32 APIs

I am currently working on a C# application where I am trying to interact with the On-Screen Keyboard (TabTip.exe) using Win32 API calls, specifically FindWindow, GetWindowRect, and SetWindowPos. ...
Shaik Rizwan's user avatar
0 votes
0 answers
42 views

Dependency property value change call back is invoked when a control hides from UI via content control template

I have a content control with content control template which shows 2 controls in UI according to the content (as shown below). I have DpValid dependency property in my usercontrol View1 & View2 &...
Hari Sankar v m's user avatar
0 votes
0 answers
20 views

Use /create a WPF Class Library

I'm quite new to wpf and I have a desktop project where several applications are running at the same time on different PCs. Some of the screens are the same in the different applications. As we do ...
Filipe R.'s user avatar

15 30 50 per page
1
2 3 4 5
383