Questions tagged as 'wpf'

0
answers

Binding between components with XAML and C #

I need that when selecting an item in a combobox, the textbox is released for editing and its completion is mandatory, as shown below: Thisbindingisactivebyclickingthenewbutton,whereIchangetheIsEditingpropertyofmyViewModelclass.classColectorsVi...
asked by 27.12.2018 / 17:45
1
answer

WPF how to focus the previous Window?

Good people, I have a window in ToolBox WindowStyle="ToolWindow" which serves only to inform the user what is happening in BackgroundWorker But I'm having a problem, for example I have this code that is in the Activated event...
asked by 25.09.2018 / 17:27
0
answers

Background problem in the DataGrid Header

I have the following code block defining the Header style in my xaml: <Style TargetType="{x:Type DataGridColumnHeader}"> <Setter Property="Background" Value="DimGray"/> <Setter Property="H...
asked by 19.07.2018 / 22:00
0
answers

Upload photo from Datagridview and switch to picturebox C #

I'm having a hard time getting my photo taken and showing it in PictureBox My scenario is as follows: I have a Registration Form that inserts the data and A Form that performs the search of the record that is displayed in a DataGridView; W...
asked by 10.08.2018 / 18:23
1
answer

Logic Problem with Progress Circle

I have a progress circle in my wpf project, I am using a class to convert the 360 value to 100, to stay as if it were 100%, but I have a problem, I get a X time, and 100% of the circle has that be filled in time X; If X = 120 seconds, then the c...
asked by 06.08.2018 / 16:24
0
answers

Reload the Page (windows) during Button Click, Spinner stops working in WPF C #

I'm doing a WPF application in C #, which when I click the browse button in the database. It starts spinning a "Spinner" that is inside the UserControl; private void BtnBusca_Click(object sender, RoutedEventArgs e) { MessageControl.Visib...
asked by 05.07.2018 / 21:12
0
answers

Ghost object in WPF C # [closed]

I'm developing an application that displays an informative track in WPF C #, I've already developed the same with Windows Form C #, and I'm trying to apply one, I believe, that makes this track a kind of ghost, , it appears there, it shows the e...
asked by 02.07.2018 / 22:40
0
answers

Application wpf with entity framework does not work on another machine

I have a wpf application with entity framework and sql server express ... it works perfectly on my pc, but when I try to install on another computer it does not work ... the application does not create the database with the frst code of the enti...
asked by 05.06.2018 / 01:49
0
answers

How to declare a ternary condition in XAML as a parameter for a CustomMarkupExtension

Hello, I'm starting to work with WPF and I've created a Custom Markup Extension starting section of this tutorial . The intent of this Markup Extension is to simulate the declarative conditions that are found in WebFrameworks such as the Ang...
asked by 13.06.2018 / 17:34
1
answer

Effect on window opening WPF

I'd like to create an effect on opening my window in WPF, similar to the opening of Windows 10's Weather and Mail windows. When I open the window, the Background gets a color and an image, then it disappears, and the window is displayed Norma...
asked by 14.11.2017 / 14:23