Questions tagged as 'xaml'

2
answers

Change the color of a Row in a GridView

Good morning, I am developing a program in Framework 3.5 in WPF (xaml) and the problem that arises is that when you want to change the color of a line from the class code, when the grid already has the data that I want to show, I can not find...
asked by 04.07.2017 / 14:39
1
answer

Access objects created in another class, in what way?

I try to do the following ... In the main view MainWindow I generate as many objects ConfigNivel as I need, these objects are some views that will subsequently lodge other objects of the class ConfigNivel (other views with o...
asked by 10.01.2018 / 17:17
1
answer

How can I link to DisplayMemberPath inside an ItemTemplate?

I need to create a list type control that meets the following requirements: Show an icon delete right next to the text of each item. Must show the added elements horizontally. When clicking on the delete icon, the control must be able to...
asked by 25.02.2016 / 17:04
1
answer

Xaml Poblemas with ScrollViewer UWP

Scrollview in xaml , to create the interfaces of the applications universal windows 10 UWP, I find a problem with scrollviewer , I cut the text of textblock and the whole scroll of the page does not work, but if I define a value to...
asked by 23.12.2015 / 19:42
1
answer

WPF, style for buttons in XAML

I'm a C # programmer and I'm just using WPF and I'd like to replicate these buttons in xaml, starting with their form!     
asked by 04.05.2016 / 04:22
1
answer

Distinguish touch from scrolling

I'm making an application that will be used on touch screens. The problem I have is that I do not know how to distinguish between scrolling and simple touch. I have a scrollviewer that contains a stackpanel where I am adding images. The idea...
asked by 26.01.2018 / 10:11
1
answer

Fill textbox with combobox

I'm trying to fill TextBox from a% of ComboBox , my problem is that I show the data of ComboBox and fill the TextBox but when I change the item in ComboBox the data of TextBox remain static. I share th...
asked by 03.12.2018 / 19:20
2
answers

How to do Binding to the "Icon" property of FontAwesome UWP?

I have this gallery of icons that I downloaded for my UWP project link I need to do a Binding to Icon's property so the xaml called it that way: xmlns:fa="using:FontAwesome.UWP" and in the grid or in a stackpanel I call it this way:...
asked by 19.11.2018 / 14:50
1
answer

How to put a predetermined text in a ComboBox?

I have the following comboBox <ComboBox x:Name="cmbBuscarPor" HorizontalAlignment="Left" Text="Buscar por " Margin="210,10,0,0" VerticalAlignment="Top" Width="120" Height="30" VerticalContentAlignment="Center"> <ComboBoxIt...
asked by 10.04.2018 / 23:28
1
answer

Build UserControl views "dynamically"

I try to create a certain number of views depending on a value and add them to the main view, in a StackPanel; private void ConstruirFilas(int numFilas) { for (int i = 1; i < numFilas; i++) { StackConfigu...
asked by 07.02.2018 / 19:50