Changing the Visibility of PanoramaItem using C# in Windows Phone 8 -


I am able to make a panoramaItem visibility using C #. As a default, the panorama ITAM is set to collapse. See below:

  & lt; Phone: Panoramite Header = "Select" visibility = "Abbreviated" x: name = "Selectgroup" & gt; & Lt; Text block text = "HI" margin = "30" font system = "36" & gt; & Lt; / TextBlock & gt; & Lt; / Phone: PanoramaItem & gt;  

is now a text block and I have created a tap event:

  & lt; TextBlock x: Name = "SeachBloodGroup" Text = "A +" FontSize = "30" Tap = "Blood Group Group" & gt; & Lt; / TextBlock & gt;  

Code:

  Private zero bloodGroup_Tap (Object Sender, System.Windows.Input.GestureEventArgs e) {SelectGroup.Visibility = SelectGroup.Visibility == Visibility Closed? Visibility View: visibility. Collapsed; }  

But the panorama item is not appearing.

Try this:

  Private Wide Blood Group Glaps (Object Sender) , System.Windows.InputGastasEventErgusE) {if (Select GroupVibility == System.Windows.Visibility.Colleded) Select Group Visibility = System. .visibility.Visible; Else SelectGroup.Visibility = System.Windows.Visibility.Collapsed; }  

Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -