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
1 answer

localize variables xamarin.ios in code and display right to left

Does anyone know how to go about localizing dynamic variables in code using xamarin.ios? I have this done for static variables. The example below explains more: //this work var test = NSBundle.MainBundle.LocalizedString(“Qty 1234”,”test…
John D
  • 639
  • 1
  • 10
  • 20
0
votes
1 answer

Hand back control to main UI thread to update UI after asynchronus image download

I have 2 asynchronous downloads in a Downloader class. Basically the code first makes a simple http based API request to get some data containing a url, and then uses this url to download an image - the last function call - Test(adImage) tries to…
Nande
  • 637
  • 1
  • 7
  • 18
0
votes
3 answers

2 asynchronus download requests, but the second is dependent on the result of the first - how to sync

Edit: Sorry - now that I've understood the problem a bit better, I think my problem lies elsewhere I have 2 asynchronus requests. The first is this: public void DownloadWebData(Uri apiUrl) { WebClient client = new WebClient(); …
Nande
  • 637
  • 1
  • 7
  • 18
0
votes
1 answer

Replacing text with an image with a Monotouch.Dialog

I have a specific need to do what I'm about to describe, but I've never seen it done so don't know if it can be! I have a settings dialog in my app created with Monotouch.Dialog. If an option isn't set, it displays "Not Set" in the placeholder.…
Nodoid
  • 1,449
  • 3
  • 24
  • 42
0
votes
1 answer

C# Monotouch/Xamarin - EntryElement ShouldChangeCharacters Event

Does anyone have a code sample or any advice on how I can implement the ShouldChangeCharacters event on the monotouch EntryElement class? Presumably I need to inherit EntryElement and implement a UITextField (which has the ShouldChangeCharacters…
Goober
  • 13,146
  • 50
  • 126
  • 195
0
votes
1 answer

MonoTouch.Dialog with custom base UIViewController

I have a requirement to have all controllers inherit from a single base controller. However, some controllers use MonoTouch.Dialog, which requires the DialogViewController. Is it possible to create a UIViewController, and internally, create a…
Paul Knopf
  • 9,568
  • 23
  • 77
  • 142
0
votes
1 answer

MonoTouch Dialog--Null Navigation Controller

I am looking for a way to change screens when the GlassButton is clicked. I have just started learning Monotouch.Dialog. I have done the following to try and handle this. public override void ViewDidLoad () { button.TouchUpInside +=…
Yahiko Kikikoto
  • 688
  • 3
  • 12
  • 23
0
votes
2 answers

How to enable search for a RadioGroup DVC in MonoTouch.Dialog?

I have a RadioGroup with very many RadioElements as a Sub-DialogViewController: Root.Add( new Section() { new RootElement ("Demo", new RadioGroup ("demogroup", 0)) { new Section () { from demoItem in…
Rodja
  • 7,998
  • 8
  • 48
  • 55
0
votes
1 answer

StyledStringElement Alternating Backgrounds in a UITableView

I have a series of StyledStringElements in a Monotouch.Dialog UITableView. I wish to set every other row to have a different background color (financial report). Is there an existing way to do this and if not, what can I override to enable this? In…
Ian Vink
  • 66,960
  • 104
  • 341
  • 555
0
votes
1 answer

Headers disappear when after overriding TableView.Scrolled

I have been in a pickle with this problem for a while now. When I try to manually handle how my table behaves while scrolling, everything works fine, except all my section headers disappear. What I tried to do was make the scroll view expand after I…
Raz_dl
  • 1
0
votes
1 answer

Update the BackButton text within a dialog view controller

I have a monotouch dialog view controller. I have a number of nested root elements public RootElement LoginSection() { //var rootSection = new Section(""); var root = new RootElement ("I'm already a member"); …
Diver Dan
  • 9,953
  • 22
  • 95
  • 166
0
votes
1 answer

Setting gradient to StyledStringElement

I'm trying to set a gradient using CAGradientLayer to a cell in StyledStringElement. This is the code I have so far: public class DerreckStyledStringElement : StyledStringElement { public DerreckStyledStringElement(string caption) :…
Derreck Dean
  • 3,708
  • 1
  • 26
  • 45
0
votes
1 answer

Monotouch using custom cell accessory - how to tell what row selected

If you use a custom cell accessory instead of the DetailDisclosureButton you can no long use the AccessoryButtonTapped event...how do I use a custom cell accessory (i.e. a UIButton set as the AccessoryView for the cell) and be able to get the…
jharr100
  • 1,449
  • 24
  • 51
0
votes
1 answer

Update width after new element added

I have a simple section with a short caption = "A" in the first EntryElement. So the first element caption width is very small. Then, I have to add new elements programmatically. The new elements that I have to add have captions larger than the…
rolivares
  • 137
  • 1
  • 3
  • 12
0
votes
1 answer

MonoTouch.Dialog Overriding GetCell?

In MT.Dialog the Source class has this: public override UITableViewCell GetCell (UITableView tableView, MonoTouch.Foundation.NSIndexPath indexPath) { ...... } In my class: public class BaseDialogViewController : DialogViewController how do I…
Ian Vink
  • 66,960
  • 104
  • 341
  • 555