Questions tagged as 'wpf'

0
answers

C # Async / Await with an Invoke?

Good people. I have a small problem, I have a Window to serve only to send information to the user to say what is happening in Background, but sometimes the code runs fast and more and he does the close before opening the window. Remember tha...
asked by 28.11.2018 / 17:26
3
answers

C # - Knowing the location of the database file dynamically

I'm doing a program using C # in WPF, and I need to access the database dynamically, in this case I'm using a .mdf file. In code I have the connectionString like this: string stringConexao = @"Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilenam...
asked by 24.11.2018 / 00:12
1
answer

How to Make a Balloon Help in WPF? [closed]

I'm developing a WPF application, and in it, I need each Label to have a Balloon, for example, Name * (full name); can anybody help me? I would like to do in pure WPF, but if it does not, is there any simple way to do it?     
asked by 13.11.2018 / 20:02
0
answers

Datagrid Adding extra value without C # WPF

I have the following problem, I have a combobox <ComboBox x:Name ="CmbLista" ItemsSource="{Binding Path=Lista}" DisplayMemberPath="Descricao" SelectedValue="{Binding Path=Model, Mode = TwoWay}"...
asked by 10.10.2018 / 20:58
0
answers

TextBox.SelectAll () works when it is through the keyboard, when it does not

Good people, I have a method for 3 TextBox to run when they gain focus: private void NumericKeyboardTextBox_GotFocus(object sender, RoutedEventArgs e) { e.Handled = true; this.textBoxForNumeric = sender as TextBox; this.textBoxF...
asked by 17.10.2018 / 16:58
0
answers

How to separate style sheets using Xamarin Forms

Hello, I'm coming from WPF where it is possible to create my style files in separate files and from them use in my% s of% s the same style settings. I did some (many) searches and found some references like this: link But unfortunately I...
asked by 09.10.2018 / 16:10
2
answers

Prevent the user from using the mainwindow window while another window is open

I have an application in WPF following the MVVM standard and in a certain part of the application I show a ProgressBar that I implemented in a separate view for the user and, while this progressBar is running, I would need the user to be unable...
asked by 08.10.2018 / 18:33
1
answer

WPF Stretch Width does as it should but not at Height

Good people. I have a small problem and I can not find where the "error" is. I'm trying to get the responsive Window, in which Width goes with some window size, now the problem is Heigth , DataGrid are always the same size...
asked by 03.10.2018 / 16:16
0
answers

How to disable fast slider movement

Follow the code below: <Slider Name="sliProgress" Thumb.DragStarted="sliProgress_DragStarted" Thumb.DragCompleted="sliProgress_DragCompleted" ValueChanged="sliProgress_ValueChanged" /> When you hold mouse cl...
asked by 30.09.2018 / 01:16
0
answers

Validate properties of objects in a collection. WPF MVVM C #

Let's say I have an ObservableCollection of objects of type Product, called Products. Each Product has the Unity, Quantity, and Description properties that will be linked to textboxes. That is, information can be edited by the user. My questi...
asked by 26.09.2018 / 20:48