Questions tagged [monotouch.dialog]

MonoTouch.Dialog is a MonoTouch framework for iOS for iOS developers to create dialog boxes and show table-based information without having to write dozens of delegates and controllers for the user interface.

MonoTouch.Dialog is a MonoTouch framework for iOS developers to create dialog boxes and show table-based information without having to write dozens of delegates and controllers for the user interface.

456 questions
19
votes
1 answer

Memory/resource management using MonoTouch and MonoTouch.Dialog

I have a MonoTouch app that has a UITabBarController, with each of the tabs being a UINavigationController. Some of these wrap a UIViewController which adds a UITableView and a UIToolbar, and others wrap a DialogViewController. I've not paid much…
Omri Gazitt
  • 3,428
  • 2
  • 21
  • 27
16
votes
4 answers

MonoTouch.Dialog: Dismissing keyboard by touching anywhere in DialogViewController

NOTE: There are two similar SO questions (1) (2), but neither of them provides an answer. TL;DR: How can one dismiss the keyboard in a MonoTouch.Dialog by letting the user touch any empty space in the view? I'm writing an app using MonoTouch.Dialog…
Mike Lorenz
  • 942
  • 6
  • 13
10
votes
2 answers

How to make table cells and separator full width in iOS 8 with Xamarin?

We have a number of table views (using Xamarin Monotouch Dialog) that are plain (not grouped) and are designed to appear full-width without indents. This all works fine in iOS 7. Using the iOS 8 simulator though, we're getting a slight left…
Ender2050
  • 6,912
  • 12
  • 51
  • 55
10
votes
3 answers

Structuring a MonoTouch.Dialog application

From the examples at Xamarin.com you can build basic M.T. Dialog apps, but how do you build a real life application? Do you: 1) Create a single DialogViewController and tree every view/RootElement from there or, 2) Create a DialogViewController for…
9
votes
1 answer

MonoTouch.Dialog: Responding to a RadioGroup Choice

I have a Dialog created by MonoTouch.Dialog. There is a list of Doctors in a radio group: Section secDr = new Section ("Dr. Details") { new RootElement ("Name", rdoDrNames){ secDrNames } I wish to update an Element in the…
Ian Vink
  • 66,960
  • 104
  • 341
  • 555
8
votes
1 answer

DialogViewController breaks UINavigationController path

I encountered a problem when pushing a DialogViewController to my apps global UINavigationController, that it would lose the back buttons. I was able to boil it down to this simple example: var nav = new…
Timm
  • 2,652
  • 2
  • 25
  • 34
8
votes
2 answers

Can I dismiss the iPhone keyboard by touching the background of DialogViewController (MonoTouch.Dialog)?

Possible Duplicate: MonoTouch.Dialog: Dismissing keyboard by touching anywhere in DialogViewController I'm using DialogViewController from MonoTouch.Dialogs. I'd like to be able to dismiss the keyboard by clicking on the background of the…
dommer
  • 19,610
  • 14
  • 75
  • 137
8
votes
4 answers

C# Xamarin/Monotouch.Dialog - EntryElement Not Displaying Entered Characters

I have a Monotouch.Dialog EntryElement. Occasionally when I start typing, nothing shows up... The cursor does not display, and if I type text, it cannot be seen, but it does get persisted to the EntryElement.Value property. The problem seems to be…
Goober
  • 13,146
  • 50
  • 126
  • 195
7
votes
2 answers

How do you encapsulate a MonoTouch.Dialog view into a view controller?

I am writing a view controller for adding a new item to my app. It is a perfect fit for MonoTouch.Dialog, as it can be done easily with a table based interface, with a field per relevant property of my item. This is the code I have currently for…
David Miani
  • 14,518
  • 2
  • 47
  • 66
7
votes
1 answer

Monotouch.Dialog - Which Element was Tapped

I have a list of Customers which I use to create Elements like this: Foreach(Customer c in Customers) { //Make the StyledStringElement //Set the Tapped to action a touch element.Tapped += () => { Push (new SomeController (c.ClientId));…
Ian Vink
  • 66,960
  • 104
  • 341
  • 555
7
votes
1 answer

monotouch.dialog styledstringelement adjust cell width

I create my a class MyStyledStringElement and subclass StyledStringElement and IElementSizing in an attempt to control the width of a styledstringelement. Unfortunately, the code below only resizes the height of the cell in getheight(). Is there a…
John D
  • 639
  • 1
  • 10
  • 20
6
votes
4 answers

Can EntryElement be multiline on MonoTouch.Dialog?

I subclassed EntryElement and have set the UILineBreakMode in the GetCell method as such: public class EntryElementEnhanced : EntryElement, IElementSizing { public EntryElementEnhanced(string caption, string placeholder, string value) : base…
valdetero
  • 4,624
  • 1
  • 31
  • 46
6
votes
4 answers

MonoTouch.Dialog: Back item in NavigationBar

I m having a hard time with this issue. My MainWindow.xib, has a NavigationController, the view for which is inherited from another xib. Now, i push a DialogViewController from the main view, but i cannot see a back button on the second view's…
Abhishek Sharma
  • 359
  • 3
  • 16
6
votes
1 answer

MonoTouch Dialog StringElements Variable Cell Height

I am having a problem overriding the GetHeight method when developing an iPad application with MonoTouch.Dialog. I am implementing IElementSizing but my GetHeight method never gets called. Has anyone else ran into this problem? Thanks. I made sure…
Rick Make
  • 521
  • 2
  • 6
  • 14
6
votes
1 answer

MonoTouch.Dialog UITableView without margins

How can I create UITableView with MonoTouch.Dialog which has no margins? At the moment once you create new Section it will add margins around the table and makes elements rounded. I want the look of simple UITableView which has no margins (top,…
ErnestJ
  • 167
  • 12
1
2 3
30 31