Most voted "wpf" questions
Windows Presentation Foundation, or WPF, is a subsystem for presenting user interfaces in Windows-based applications. It features a diverse set of controls, layout options, 2D and 3D graphics, media and text manipulation and allows data binding and model-oriented style.
Learn more…413 questions
Sort by count of
-
-1
votes1
answer41
viewsTextbox in WPF datagrid
Good afternoon, as I add a Textbox as the image below. I’ve seen some C#/WPF software with Datagrid and filtering this way.…
-
-1
votes4
answers166
viewsC# WPF How to separate a long string into several positions of an Array?
I need to create a getter and a Setter for 14 Model properties that will be used to make Binding in Xaml. The properties come from here: I have a field from a database table where it loads a very…
-
-1
votes1
answer75
viewsActivation of the Save c#/wpf button
How can I make sure that once there is a change in the text field, the save button is enabled? or by clicking edit (thus creating the button) the app enables editing and thus enabling the button…
-
-1
votes1
answer50
viewsLoad reCaptcha from a different site in my WPF/XAML application
I am working on a system that automatically downloads XML files from this website. But this site uses validation caps, and for that we would offer two options to our customers: using api’s like…
-
-1
votes2
answers375
viewsCalling another class method in a Task c#
I’m trying to make a task call from a method of another Class: Diretorios diretorios = new Diretorios(); await Task.Run(() => diretorios.CopiaDiretorios(tbxVersaoAtual.Text,…
-
-1
votes1
answer24
viewsHow to insert Dynamic Grid into the WPF XAML interface
I wrote a method that creates a Grid dynamically: private void createMyGrid(int l, int c) { //Create grid Grid DynamicGrid = new Grid(); DynamicGrid.ShowGridLines = true; //Create lines for(int i=0;…
-
-1
votes1
answer38
viewsThread problem in Backgroundworker
I’m learning how to use Backgroundworker now and I’m having this problem to access the information of some chekbox on Mainwindow, I’ve been researching about Dispatcher but I can’t quite understand…
-
-1
votes0
answers12
viewsSfdatagrid Bhutan with Double Click
I have this Remove Item Button, only it only triggers after two Clicks, but I would like to remove the item on the first click. <Label VerticalAlignment="Center" FontSize="18"…
-
-2
votes1
answer94
viewsReturn object between screens - c#
I have a question about returning an object from a screen B to a screen A, for example. I use the form below, hiding the ShowDialog of the base class, making the "new Showdialog" return what I need.…
-
-2
votes1
answer602
viewsHow to format a label using Stringformat in Xamarin Forms
I am creating a solution where I must display a whole in one <Label />. To do this I’m using the code below: public partial class Home : ContentPage { public Home() { InitializeComponent();…
-
-2
votes2
answers40
viewsError "The call thread cannot access this object because it belongs to a different thread."
I have a WPF application that I need to manipulate a textbox. But it gives the following error when running the part of the code that handles the textbox: System.Invalidoperationexception: 'The call…
-
-3
votes2
answers158
viewsI can’t get the value of a combobox with WPF
I can’t get the value of a combobox with WPF. How do I get value? This is the combobox code in XAML. <ComboBox x:Name="cbxCereais" HorizontalAlignment="Left" Margin="145,178,0,0"…
-
-3
votes1
answer42
viewsSort hidden radiobuttons in WPF stackpanel
I have a stackpanel with several radiobuttons on it, depending on the user input some of these radiobuttons are hidden (visibility property = visibility.Hidden). I would like as this happens, the…