Questions tagged as 'xaml'

1
answer

XAML with parameter - BackgroundWorker

I'm making a small XAML application that requests 2 dates. Dates are passed as a parameter to some methods invoked by the Button click event. The problem is that during the execution of the methods the form remains locked. How to use the Back...
asked by 19.02.2016 / 15:00
1
answer

Align Popup to Center

Why can not I align to the center, this my popup? LookhowitlooksinXAMLDesign Follow my XAML : <Popup x:Name="popup" HorizontalAlignment="Center" VerticalAlignment="Center"> <StackPanel Background="Black" Width="456">...
asked by 30.04.2014 / 20:08
2
answers

Binding inside a CompositeCollection does not work

I'm using a ComboBox in a WPF application and when a function is activated, it loads a List<string> from a webservice to an on-screen property. My problem is that I can not make the ComboBox update update when this property is chang...
asked by 27.03.2018 / 17:50
1
answer

How to use an enumerator as an ItemSource of a ComboBox?

Assuming I have the following: enum Dias {Segunda, Terça, Quarta, Quinta, Sexta, Sábado, Domingo}; How can I use the enumerator Dias as ItemSource of a ComboBox in a WPF application? For example: <Combo...
asked by 23.09.2016 / 23:35
1
answer

Alphabetical sort in ListView equal to App People

I've been researching how to make a list equal to the contact list of the People App of Windows 10 and found a good example . However, the example does not implement the alphabetic ordering that exists in the People app (image below)....
asked by 14.01.2017 / 19:44
1
answer

Problem in Visual Studio 2013 XAML

Objects do not appear in XAML Visual. TheyonlyappearifitisaprojectusingSilverlight. But in the Emulator when compiling normal view, it's bad just to edit the application's Visual.     
asked by 25.02.2015 / 19:39
1
answer

Guidance Control

I set the orientation of a page in my app as a landscape, but it was static. If the user flips the 180º screen it continues as a landscape but remains head . How do I turn the screen into landscape when the device is rotated and follow the us...
asked by 10.07.2014 / 03:43
1
answer

Adaptive Storyboard (WPF)

I have an animation in my WPF project and wanted to know if you have the Storyboard to be responsive. As in the settings of Margin and Height / Width are responsive marking the option auto wanted to know if you have how to do this auto style...
asked by 03.10.2017 / 01:39
1
answer

What are StaticResources and DynamicResources in WPF?

When I use resources in WPF, I can specify them as StaticResource , as DyanamicResource . However, most of the time only one works, and the other would start an exception. From this point, I have the following doubts: What i...
asked by 24.12.2016 / 19:00
1
answer

How to leave my Button disabled but the image appearing?

Does anyone know if there is any way I can leave my Button disabled but the Button image appear? What if I disable Button. ButtonXAMLcode.<Buttonx:Name="BtnCalc" Content="" HorizontalAlignment="Left" Margin="773,206,-172,0" Vert...
asked by 17.04.2014 / 22:28