Questions tagged as 'xaml'

1
answer

How to get the highlight color of Windows?

How do I access the prominent color of Windows 10 user-defined.     
asked by 13.03.2016 / 00:36
1
answer

Why does the "Landscape" position not resize the LongListSelector?

Why do not I resize when I put the cell in the Landscape position? Here is the image: FollowmyLongListSelector<Gridx:Name="ContentPanel" Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center"> <phone:LongList...
asked by 02.05.2014 / 19:17
3
answers

Link selection between two ListViews

Would it be possible to bind the unique selection between two ListView objects via XAML? For example, I have two ListView , TopListView and BottomListView , both configured for simple selection, ie only one item can...
asked by 08.01.2017 / 18:32
2
answers

MessageBox error

I tried to implement the code below in a Windows Phone 8.1 project, it had already been implemented in Windows Forms successfully. What should I change to be valid for Windows Phone 8.1? private void reset_Click(object sender, RoutedEventAr...
asked by 18.07.2014 / 04:57
1
answer

WindowsPhone - How do you fire an event "inside" another?

I defined the visibility of my combobox as Collapsed, for visual reasons and since the AppBarButton is more presentable. I want to know if it's possible to call the combobox event by triggering the event of an AppBarButton? Something like:...
asked by 24.07.2014 / 04:32
1
answer

What are namespaces in XML?

Well, I understand the concept of namespaces in C #, C ++, etc. But I do not understand the concept of namespaces in WPF (XAML). I've been trying to understand the xmlns parameters in an XAML code. I read MSDN publications on th...
asked by 12.07.2016 / 18:24
1
answer

WPF documentation with pure C # code

WPF is the "new" one for development, not only desktop but also mobile. However, almost all of the material that is available on WPF is fully tied to the use of IDE and XAML. But XAML is an intermediate language, it is compiled into C # code,...
asked by 22.09.2016 / 17:13
1
answer

How to load DataTable into a DataGrid?

I have DataTable loaded with information in a WPF application. I would like to get this DataTable and load it into a DataGrid . How can I do this the easy way? DataGrid in XAML: <Grid> <Button Cont...
asked by 14.02.2015 / 23:23
1
answer

How to Shoot Vibration on my device

How does Vibrator fire in my Windows Phone 8.1 app? As for example: if(==0) { VIBRAR APARELHO; }     
asked by 15.08.2014 / 19:54
1
answer

WPF Xaml StringFormat

Good afternoon guys, I have a somewhat ridiculous problem, but I can not find the solution. I'm trying some stringFormat as StringFormat={}{0:#,#.00}} and StringFormat=N2} , in addition to StringFormat='c' , but taki...
asked by 22.11.2016 / 19:24