Questions tagged as 'xaml'

1
answer

The sequence does not contain elements trying to make a ListView in XAML

Trying to bin an ObservableCollection in a ListView gives me the following error in the view: The sequence does not contain any elements. The view is this: <?xml version="1.0" encoding="utf-8" ?> <ContentPage xmlns="http://xamar...
asked by 07.05.2018 / 12:20
0
answers

I just got an error when opening a file in microsoft expression blend 3. Help please

I'm using Microsoft Expression Blend, everything was fine but today I tried to open a project to keep moving forward and it will not let me open it. I miss a message that says:    Error opening (where the file is saved). The specified argumen...
asked by 02.05.2018 / 09:43
1
answer

Repeat the same structure XAML several times

I have this structure ... <StackPanel> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="4*"/> <ColumnDefinition Width="*...
asked by 23.12.2017 / 11:36
0
answers

Unable to create an instance of a user control in WPF

I am having problems (and instability) with the graphic interface in WPF, trying to incorporate controls gives me an error of "Object reference not established as an instance of an object". The call to the namespace is located at the beginning o...
asked by 20.12.2017 / 17:32
1
answer

Pass parameter to constructor in UserControl

Very good, I have an application in which I should create as many UserControl objects as a value stored in a ComboBox variable. The objects are created but I would like that each time you create a new one, increase the value of your counter in o...
asked by 24.12.2017 / 11:18
1
answer

How to create a ListView in WPF with groupers and element counter in each group?

Based on this tutorial I created a ListView with different groupers. But I need to show the amount of elements within each group and the description of each, I am not allowed to use the generic word "Element (s)" in the groups, it has to be...
asked by 05.04.2017 / 01:15
1
answer

pass data from the datagrid of one form to the textbox of another form wpf

I have the following code to load my data into a datagrid of a form Private Sub cargarGrid() Dim conexion As New ConexionBD Dim data As DataTable dataGridVehiculos.ItemsSource = Nothing Try data = conexion.mostrarDatose...
asked by 08.02.2017 / 15:00
1
answer

Use a Storyboard for various controls

Good afternoon, thank you in advance for the help. My question is, how can I use a storyboard in other controls since when I create it it is associated with a specific control in the Storyboard.TargetName, in my application wpf is linked to o...
asked by 27.10.2016 / 22:37
1
answer

Run FindVisualChildren several times in WPF

I have a text file that contains 10 words, only one of them per line. My intention is to call each line, visualize the word in Textbox and extract each letter of the word and mix it with random letters, the idea is that the user looks at...
asked by 26.03.2016 / 04:25