Questions tagged as 'wpf'

0
answers

Delete points in a Serial Area from the WPF Toolkit

I have implemented a AreaSerie with toolkit. The problem is that it is marking the points in the graph and I would like to eliminate them. I add an example photo. In the photo is marked the points that I do not want them to be. And my...
asked by 19.10.2016 / 16:15
2
answers

IValueConverter refresh

I am implementing a menu with security, so that according to the security of the user you will see or not the menu items. For this I have an entity called UserSecurity of the form: public class UserSecurity :BaseEntity { public int? Use...
asked by 24.10.2016 / 14:04
0
answers

Serialize a class to xml after it passes the binding validation in wpf c #

I have a project in WPF with a configuration file in XML I have made a ViewModel class that is Binded to MainWindow.xaml, and I have done one validator using IDataErrorInfo and classes with the ValidationRule interface. What I want is that...
asked by 14.10.2016 / 12:21
1
answer

Select the Value of a Dictionary in a ComboBox Wpf

I have the following code. ajusteCbb.ItemsSource = new Dictionary<string, string> { { "A", "SI" }, { "C", "NO" } }; ajusteCbb.DisplayMemberPath = "Value"; ajusteCbb.SelectedValuePath = "Key"; and in a Datagrid I have this code <D...
asked by 01.07.2016 / 00:09
0
answers

WPF does not start WCF when installed

I have a WPF with references to a configured WCF that works well. When debugging with Visual Studio, the "WCF Service Host" tells me that this service is started and does not present problems. If I consult him, he answers me well. The problem...
asked by 11.07.2016 / 18:10
0
answers

WPF Problems using IRegionManager

I use this method to call a view: IRegionManager regionManager = ServiceLocator.Current.GetInstance<IRegionManager>(); //Esta es la interfaz que implementara el CodeBehind de la vista. IListaBeneficiosPopupView busquedaBeneficioPopup =...
asked by 14.04.2016 / 21:15
2
answers

nails with WPF in c #

Public Sub NotificarCambio(ByVal Propiedad As String) RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(Propiedad)) End Sub This is in Visual Basic How would it be in c # ?     
asked by 25.05.2017 / 02:00
1
answer

Can the KeyDown event work in the background?

I have a WPF application and I want to activate a method when pressing a specific key without the need for the form to be in the foreground, what is the possibility of that solution? Greetings! private void playSimpleSound(string url)...
asked by 27.03.2016 / 01:58
1
answer

Format Textbox in C # for WPF project

I have created a project in WPF in which in some textbox I have to enter hours in the 00:00:00 format, I would like the texbox to have the predefined format.     
asked by 02.01.2019 / 01:58
2
answers

When I insert data into a SQLite table, it says that the database is blocked

I am creating an application in WPF which inserts in a table of SQLite every login. When you are about to insert: throw this exception: The code of the method to insert is this: public void InsertValuesToDataBase (str...
asked by 04.04.2018 / 18:04