Questions tagged as 'xaml'

1
answer

there is an overload for 'OnKeyDownHandler' matches the delegate 'KeyEventHandler'

I have the following method that has the OnKeyDownHandler event and I can only send it two parameters and I want to send it a list as well (FileInformation FilesList) private void OnKeyDownHandler(object sender, FileInformation FilesList, KeyE...
asked by 02.10.2017 / 16:14
1
answer

UWP C # Pass date picker to another

I am new to UWP and would like to know if there is any way to pass information from one Date Picker to another new one, what I have in XAML is <StackPanel Name = "ContenedorElementos"> <CalendarDatePicker Name="FechaEntr" Margin="...
asked by 18.12.2016 / 22:36
1
answer

Style DataGridRow WPF

I have a DataGrid with a DataGridTemplateColumn , a other columns that are loaded dynamically, I'm trying to change the background when the property Eliminado is in true , but it has not worked for me way. The...
asked by 18.11.2016 / 16:28
0
answers

Xamarin form IOS - Picker Control

I am using the Picker control to show answers to a question, the problem is when the questions are very long they are shown in the following way. Open some way to increase the size of the picker so that the complete answers are shown?...
asked by 06.03.2018 / 01:13
1
answer

"Bin" command in MenuItem

Good morning, I added the Command property to a MenuItem but it does not work The code of the xaml is the following: <ListView ItemsSource="{Binding Categorias}" SelectedItem="{Binding SelectedCategoria, Mode=TwoWay}" HasU...
asked by 31.01.2017 / 13:18
1
answer

c # Pub-Sub pattern

I am trying to use the Pub-Sub pattern to communicate the ViewModels of my application, but I must be doing something wrong, since I do not get the events to trigger. The class with the code to handle the events is this: namespace App.S...
asked by 27.06.2016 / 17:33
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
1
answer

Change Header pripiedad in "Expand" control

I try to change the property Header of an Expander to vary the title of this variable depending on but there is no way ... If I add a constant to the Header, it works correctly; <Expander Name="Header" Margin="4" Header="Config ni...
asked by 08.01.2018 / 21:35
1
answer

Center Header of a GroupBox

Can I somehow center the title (Header) of a GroupBox so that it is always established in the center of the control itself? I do not know if there is any property that makes it easier for me to do what I want ... I'm reviewing th...
asked by 10.12.2017 / 11:38
1
answer

How to position buttons next to each other?

I am working with WPF, Visual Studio 2015, in which I want to place buttons next to each other as well as this image. I've only been able to achieve this. This is the XAML code that I am occupying, what I did was put a Grid wit...
asked by 08.10.2017 / 17:11