Skip to main content

All Questions

2 votes
1 answer
277 views

Visibility binding with list item

List<MyItem> Reports = new List<MyItem>(); public class MyItem { public int CountAnswers{ get; set; } public DateTime DateTimeStartTime { get; set; } } I am ...
Jacek Grzelaczyk's user avatar
0 votes
1 answer
458 views

Setting Textblock/Button Visibility on WP8 App using MVVM

I'm new to MVVM and I'm working on a WP8 app and I'd like to be able to set the visibility of buttons and a textblock based on when one of those buttons were tapped. Here's my View to try and explain ...
FUBAR's user avatar
  • 89
0 votes
1 answer
764 views

Make visibility of listbox items to be visible when clicked on a button

XAML: <ListBox Height="163" HorizontalAlignment="Left" Margin="0,-24,0,0" Name="listBox2" VerticalAlignment="Top" Width="446" SelectedValuePath="" SelectionChanged="listBox2_SelectionChanged" >...
Milky's user avatar
  • 73
0 votes
2 answers
2k views

Where is the VisibleChanged event for a Windows Phone 8 user control?

I've found more than one reference to a VisibleChanged event on MSDN pages that state it is for the Windows Phone 8 platform. However, when I try to access it via Intellisense for either the top ...
Robert Oschler's user avatar
1 vote
3 answers
17k views

Dynamically change the Visibility of a Grid in WPF

I have a Grid with TextBlock in it: <Grid x:Name="GridLayout" Margin="4,0,4,1" Grid.Row="2" Background="#accdd7"> <Grid.RowDefinitions> <RowDefinition Height="Auto"/> ...
user3114009's user avatar
10 votes
5 answers
29k views

How to implement a click event for a stackpanel

I checked the stackpanel class here http://msdn.microsoft.com/en-us/library/system.windows.controls.stackpanel.aspx and it has no click event. I'm working on a windows phone 8 app and I've got a ...
Nii Laryea's user avatar
  • 1,211