Questions tagged as 'wpf'

1
answer

How to keep the scroll always at the end of the WPF textbox

How can I keep scrolling at the end of the textbox? I have a textbox, but it receives a lot of content, and when it arrives at the end it does not follow and text that exceeds, stays in the same place.     
asked by 29.05.2016 / 18:26
1
answer

Remove WPF window border

I have this window with an image defined as background , ok, but note that the image is not occupying the entire window. How can I remove these borders? Remembering that the window has the following properties in XAML: AllowsTransparency="...
asked by 26.03.2016 / 22:23
1
answer

Disable button when selecting item in DataGrid

I have a DataGrid with records and an Edit button. At the moment I'm doing the following: the user selects the item from the DataGrid and clicks the Edit button, to then be checked whether or not it can edit the record. I would like to disable t...
asked by 23.09.2015 / 19:13
1
answer

Run something after an animation - WPF

I have the following animation when I initialize my project: public ConfigInicial_Empresa() { InitializeComponent(); brush = (Brush)bc.ConvertFrom("#444"); window.Background = brush; DoubleAnimation fa...
asked by 07.01.2016 / 16:29
1
answer

Synchronize ProgressBar with Execution of methods of a class

In my project I have a class that has three methods: static List<string> ListaArquivos(string path){...} static void CriaArquivoUnico(List<string> listaArquivos){...} static void AbreArquivoUnico(string pathArquivoUnico){...} Wh...
asked by 15.09.2015 / 19:42
1
answer

Validating CheckBox in another form

Hello, everyone. Probably my doubt is a little silly, but I did not find much of it on the internet ... Could you please explain to me how I can call the value of CheckBox to another form? My idea is to get pre-determined informa...
asked by 18.10.2015 / 16:18
1
answer

How do I set the installation location in ClickOnce?

I'm developing an application in VS2012 using WPF, I'm using ClickOnce itself to install the application, but it always installs in the users' folders, type:    C: \ Users \ USERNAME \ AppData \ Local \ Apps \ 2.0 \ GT ?? 4KXX.PRJ \ EGV ?????...
asked by 04.08.2014 / 19:15
1
answer

ClickOnce failed to load report Crystal Reports

I have a WPF application in C # and some reports of this application. When you install the application with ClickOnce, the reports are not called and the report load fails. DLLs work when I run my application through VS and if I create an ins...
asked by 28.03.2014 / 15:33
0
answers

How to bind a property of a child object inside a View in XAML

Hello, I'm using MVVM where I have an abstract class as default for my ViewModels: public abstract class ViewModel : INotifyPropertyChanged { public void Set<T>(ref T property, T value, [CallerMemberName]string propertyName = "")...
asked by 04.12.2018 / 17:13
0
answers

Npgsql 3.2.2 or higher my application is running very slow

I installed the new version of Npgsql (4.0.3), but my application started to get very slow. The whole process, including opening a window that does not use a connection. I tested and upgraded to version 3.2.1 my application runs normally. I do n...
asked by 27.11.2018 / 19:52