Inheritance: MonoMobile.Dialog.DialogViewController
示例#1
0
        public void DemoEditing()
        {
            var editingSection = new Section("To-do list")
            {
                new StringElement("Donate to non-profit"),
                new StringElement("Read new Chomsky book"),
                new StringElement("Practice guitar"),
                new StringElement("Watch Howard Zinn Documentary")
            };

            var root = new RootElement("Edit Support")
            {
                editingSection
            };
            var dvc = new EditingDialog(root, true);

            ConfigEdit(dvc);

            navigation.PushViewController(dvc, true);
        }
示例#2
0
		public void DemoEditing () 
		{
			var editingSection = new Section ("To-do list") {
				new StringElement ("Donate to non-profit"),
				new StringElement ("Read new Chomsky book"),
				new StringElement ("Practice guitar"),
				new StringElement ("Watch Howard Zinn Documentary")
			};
				
			var root = new RootElement("Edit Support") {
				editingSection
			};
			var dvc = new EditingDialog (root, true);
			ConfigEdit (dvc);
			
			navigation.PushViewController (dvc, true);
		}