I am creating an application, and in one of the windows to see the records that are in the database, when I click on the navigation buttons I get an error
The error it throws is:
'Object reference not set as an instance of an object.'...
I have created a listView that by default shows 6 elements with a field Nombre and another Def in this way:
listView.Items.Add(new grafica(){Nombre = "Seno de x", Def = "a * sen(b*x)" });
listView.Items.Add(new gr...
I need to consume a web api through an mvc project synchronously, however most of the examples are asynchronous,
I have the following code:
[HttpGet]
public async Task<ActionResult> Buscar(int? id)
{
//Get...
Continuing with the solution of Problem of bindig in WPF with MVVM , in which I already got the DALs answered ( MOCData , EFData , AdoNetData and XMLData ), now I try to be able to change the ListView of MainW...
I'm working with xaml and I have a problem, the MouseDown event is not running when I double click on an image, that's how I have the code:
<Grid x:Name="gridContainer" HorizontalAlignment="Center">
<Image x:Name="bgImageDge" Sour...
Good afternoon, classmates. I would like to know how I can modify the DataContext of a view with its ViewModel, from another ViewModel or from the same ViewModel.
public partial class Window2 : UserControl
{
public Window2()
{...
I am creating an application, this is being developed with WPF, the functionality of that app is to create a database in SQL Server through the code, since I made their respective properties in the Model and ModelView it is also worth mentioning...
I am creating a report with ReportViewer and I have a tablix and below a textboxs , the problem is that when more than one record is added in the tablix , the textbox are run and I need that they remain fixed bec...
I have a combobox in a wpf application and I want when IsMouseOver the background changes to an image. this is the style of the toggle button now with background with a color. Any ideas?
this is the combobox code
<Style x:Key="cbbOpcion...