how create popup info to dispaly related data
Hi All. I have DataGrid that has context menu to call other form for add related data to selected item. Now I would like to create popup DataGrid in mouseover event on selected DataGrid item to display data that related to it. That gives information…
![](https://techprofile.blob.core.windows.net/images/NhkrylFCqEiUzgd3au5ONw.png?8D7FAD)
Capturing selection change / click inside WPF ListView / MVVM
Hi, I am trying to get the selection change inside a WPF ListView using Interaction.Triggers. I have only included just the basic XAML for now. But I am getting error in XAML as well as in code. XAML : The name interaction does not exist in namepace…
![](https://techprofile.blob.core.windows.net/images/NhkrylFCqEiUzgd3au5ONw.png?8D7FAD)
C# How to find out if a form is running
Hi, folks. I have a form application in C# (I use Visual Studio) that has two items in a menu. Both of them show the same form, but with different data. They access different tables in the database. If the user clicks in one of the menu items, the form…
Putting a space in a WPF application name
I have created a WPF project named "MyApplication" because if you put a space it creates a weird namespace. However, I want my executable to be "My Application". Where can I make this happen and will changing it from…
![](https://techprofile.blob.core.windows.net/images/NhkrylFCqEiUzgd3au5ONw.png?8D7FAD)
How do I make validation rules work with two controls, Part 2 of 2
(Part 1 is here: https://learn.microsoft.com/en-us/answers/questions/94723/how-do-i-make-validation-rules-work-with-two-contr.html) I'm not sure this will help, but here's the code to the validation rule class I've defined: using System; using…
![](https://techprofile.blob.core.windows.net/images/fefadda8866e4e3f859dcdf8cef56e0e.png)
![](https://techprofile.blob.core.windows.net/images/NhkrylFCqEiUzgd3au5ONw.png?8D7FAD)
Winform Project and remote debugging
I have a winform project which i publish a centralize folder and user install application from that folder. so when i update any functionality and give publish then user gets update when they run their application. Please tell me how could i connect my…
How do I make validation rules work with two controls, Part 1 of 2
I've got a textbox that's within a border. The idea I'm trying to do is validate that the data entered by the user. I've done this with other controls (a DatePicker control and another textbox) but in those cases it wasn't validation, it was other things…
![](https://techprofile.blob.core.windows.net/images/fefadda8866e4e3f859dcdf8cef56e0e.png)
![](https://techprofile.blob.core.windows.net/images/fefadda8866e4e3f859dcdf8cef56e0e.png)
WPF Checkbox Control change size
Hello, I want to change checkbox size. who can help me? thanks XAML: <CheckBox x:Name="CheckAllBtn" Content="ALL" Canvas.Left="13" Canvas.Top="182" FontSize="36" Width="109"/>
![](https://techprofile.blob.core.windows.net/images/NhkrylFCqEiUzgd3au5ONw.png?8D7FAD)
WPF C# Desktop App - Build date from the application
Hello, private void MainWindow_Loaded(object sender, RoutedEventArgs e) { CurrentViewModel = (ViewModel)(this.Resources["vm"]); CurrentViewModel.InitFromMainWindow(); this.Title = "Setting…
C# Version - increase the last number
Hello, How can I have the compile number counted up and output at each compile? Like this V1.0.0.000001 Next Like this V1.0.0.000002 Next Like this V1.0.0.000003
Hosting WCF service in a mixed Iaas and Saas scenario
Hello, I currently have a WCF backend in a Windows service exposed via net.pipe for an ASP.NET web application, on premise. I would like to move to Azure. is it possible to install the WCF service on one or more servers (Iaas), expose the WCF services…
How to group procedures and reuse - ViewModel
Hi Peter, How to group procedures on line 4, 5 and 6 into one method and reuse it at its original place (line 4, or 5 or 6 ) and on line 26. Thanks class Pages_ViewModel : ICommand, INotifyPropertyChanged { public Color Tb3BackgroundColor {…
Why am getting a CS0103 error on GetValue/SetValue, but in another class it doesn't raise that error?
I'm trying to define a DependencyProperty in a viewmodel class. Here's what I've got: public static readonly DependencyProperty SolutionIDProperty = DependencyProperty.Register("SolutionID", typeof(long), typeof(SolutionViewModel)); public…
![](https://techprofile.blob.core.windows.net/images/fefadda8866e4e3f859dcdf8cef56e0e.png)
![](https://techprofile.blob.core.windows.net/images/NhkrylFCqEiUzgd3au5ONw.png?8D7FAD)
Can an Event Handler Remove Itself
I want to limit a mouse event to be handled only once. I assign the event handler by responding to a Button Click: Private Sub PreparePoint(sender As Object, e As RoutedEventArgs) Handles btnPoint.Click AddHandler Map.MouseLeftButtonDown, AddressOf…
![](https://techprofile.blob.core.windows.net/images/NhkrylFCqEiUzgd3au5ONw.png?8D7FAD)
How to get selected text in combobox.
WPF form has ComboBox where null value associated text "-- Please select --". I tryed ComboBox1.Text. It gives wrong value. How to extract selected text from selected combobox item? Thanks.
How can I see a list of all my Questions ?
Hello & Thanks ; Pls , how can I see a list of all my Questions ? Thanks
![](https://techprofile.blob.core.windows.net/images/StgvhX9HK0yWdl2-8Uimwg.png?8D8418)
vs 2019 vb.net .vb How to capture a MouseUp event in WebBrowser1.
Hello & Thanks ; I am trying to capture a MouseUp event in WebBrowser1. . But the two codes I have don't work : Pls , what am I doing wrong ? Thanks for your Help... Code1: Private Sub WebBrowser1_MouseUp(ByVal sender As Object, ByVal…
How to find my textBox1 on the DesignForm ?
Hello & Thanks ; I cant find my textBox1 on the DesignForm anymore . Somehow it got shoved off the Form1 . It shows up when I run the programsm but not in Design . There must be a list Controls screen somewhere . Pls , what would…
Is it possible to share Storyboards - cont.
Hi Peter, TB1 works perfectly, need further help with TB2 and TB3. Thanks a lot.
How to bind a checkedlistbox to a combobox and a textbox at the same time in C#?
I have a database in ms access. I have connected it to C#. The user needs to select a crane type through a combobox. The moment that the user selects the item in the combobox I want to have some items related to that choice in a checkedlistbox, which I…