-
Notifications
You must be signed in to change notification settings - Fork 2
/
Level2DialogViewController.cs
47 lines (36 loc) · 1.26 KB
/
Level2DialogViewController.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
using System;
using System.Linq;
using Com.Muegel.MonoTouch;
using MonoTouch.UIKit;
using MonoTouch.Dialog;
using MonoTouch.Foundation;
using System.Collections.Generic;
namespace SplitViewAndMTDialog1
{
public class Level2DialogViewController : DialogViewController
{
// EVENTS I FIRE ///////////////////////////////////////////////
// PUBLIC INNER TYPES //////////////////////////////////////////
// PRIVATE INNER TYPES /////////////////////////////////////////
// PUBLIC FIELDS, PROPERTIES, AND CONSTANTS ////////////////////
// PRIVATE FIELDS, PROPERTIES, AND CONSTANTS ///////////////////
// CONSTRUCTORS ////////////////////////////////////////////////
public Level2DialogViewController() : base(UITableViewStyle.Plain, null, true)
{
// This fixes the issue I was having with extra animation in detail pane
// when click back ("Lebel 1") button
Autorotate = true;
Root = new RootElement("Level 2")
{
new Section()
{
new StyledStringElement("A"),
new StyledStringElement("B")
}
};
}
// PUBLIC METHODS //////////////////////////////////////////////
// EVENTS I HANDLE /////////////////////////////////////////////
// PRIVATE METHODS /////////////////////////////////////////////
}
}