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
0
votes
2 answers

MonoTouch.Dialog ImageLoader in GetCell

I have a MonoTouch.Dialog view controller with a custom element. My element implements IImageUpdated. In the GetCell method, I'm loading an image... var logo = ImageLoader.DefaultRequestImage (new Uri (url), this); if (logo == null) { …
Rob Gibbens
  • 1,122
  • 1
  • 8
  • 24
0
votes
1 answer

MonoTouch DialogViewController TableView fill

I'm using MonoTouch DialogViewController for a table, but the TableView has a margin around all sides of it by default. The style is set to Grouped. What's the best way to have the TableView fill the available space, so that it looks like a regular…
Rob Gibbens
  • 1,122
  • 1
  • 8
  • 24
0
votes
1 answer

Updating Monotouch.Dialog RootElement

I have been following the code from the monotouch.dialog task sample app (http://docs.xamarin.com/ios/Guides/User_Interface/MonoTouch.Dialog/Elements_API_Walkthrough). Something I dont seem able to work out, is when the user clicks the + button a…
Paul Davey
  • 87
  • 1
  • 8
0
votes
1 answer

MonoTouch:OwnerDrawnElement: Change Draw() on Selected to make it flash?

MonoTouch.Dialog: Using a custom OwnerDrawnElement, I create the Element with a custom Draw() The Draw() is fired when the element is selected. How can I tell if the Draw() is fired due to a user Selecting it so that I can change the UI to indicate…
Ian Vink
  • 66,960
  • 104
  • 341
  • 555
0
votes
2 answers

Adding margin to top of DialogViewController.TableView in MonoTouch.Dialog

I have a MonoTouch.Dialog DialogViewController which adds a custom UIView to the NavigationItem.Views object. The UIView has a height of 25, and it's frame is set as follows: Frame = new System.Drawing.RectangleF(0f, 44f,…
Darbio
  • 11,286
  • 12
  • 60
  • 100
0
votes
1 answer

Apply NavigationBar style to all Navigation Bars in MonoTouch?

Currently, I am using the following code repeated throughout my application since apparently you aren't supposed to subclass UINavigationController (correct me if I am wrong): var galleryNavigation = new…
Brian David Berman
  • 7,514
  • 26
  • 77
  • 144
0
votes
1 answer

MonoTouch.Dialog: Change Color of Section

Normally to change the characteristics (Font, color) of a Section in Plain mode we have to create an entire view from scratch. In cases where a simple change is needed in color/size, is there an easier way to do this? Here's what I tend to do: …
Ian Vink
  • 66,960
  • 104
  • 341
  • 555
0
votes
1 answer

RadioGroup returning selected value

I have a RadioGroup I created: Root = new RootElement ("Club 1") { new Section ("Club Members"){ new StringElement ("P1", "Kyle"), new StringElement ("P2", "Matt"), new…
Kyle Johnson
  • 763
  • 1
  • 13
  • 31
0
votes
1 answer

Custom UIPickerView in MonoTouch.Dialog?

I've tried creating my own version of a UIPickerView element for MonoTouch Dialog, but it was to no avail. Is there some form of it already implemented within MonoTouch.Dialog or a way I could edit a DateTimeElement to act as a UIPickerView with my…
Smoore
  • 732
  • 2
  • 10
  • 27
0
votes
0 answers

Display UIWebView in custom MonoTouch.Dialog Element

Working on a way to display HTML and RTF content in a custom Element in MonoTouch.Dialog. To get started, I created a new class based on the UIViewElement implementation, with the intention of displaying a UIWebView in a cell (see UIViewElement code…
Ryan
  • 26,884
  • 9
  • 56
  • 83
0
votes
1 answer

MonoTouch.Dialog RadioGroup summary not updating

I am trying to create a very basic RadioGroup with MonoTouch.Dialog. After I select an item in the list of options and go back to the main view, the RadioGroup still shows that the default value is selected. However, when I go to select another…
Randy H.
  • 616
  • 5
  • 8
0
votes
2 answers

Monotouch dialog - add and remove elements during runtime

I have an app in MonoTouch.Dialog where I try to use the ActivityElement. My plan was to first show an activity element, then make my webservice call and when I got the response I would remove the activity element and instead add some new string…
Mr W
  • 597
  • 1
  • 7
  • 22
0
votes
0 answers

MonoTouch.Dialog load elements on the fly

What is the recommended approach when I need to load elements on the fly? My app has one particular element which should have a disclosure accessory and when clicked/entered it should go to a new section with elements which I retrieve from a…
Mr W
  • 597
  • 1
  • 7
  • 22
0
votes
2 answers

MonoTouch.Dialog using events on arbitrary element to navigate back

How can I navigate back with events (let say Tapped for String element)? Programmatically Section s = someelement.Parent as Section; RootElement re = s.Parent as RootElement; // how to get to DialogViewControler or something to navigate…
moljac
  • 946
  • 9
  • 12
0
votes
1 answer

How do you add a subtitle to a MonoTouch.Dialog RootElement?

The MonoTouch.Dialog RootElement does not appear to have a way of adding a subtitle. I would like to display a subtitle below the caption. Do I have to subclass the element and add a custom view to in the GetCell method? Is there a simpler option?
rams
  • 6,381
  • 8
  • 46
  • 65