monotouch.dialog

Setting a custom font for Monotouch-dialog elements

自闭症网瘾萝莉.ら 提交于 2019-12-04 11:51:11
Is there a way to set the fonts when a Monotouch Dialog class has been instansiated? [Section("This is the header")] This will render with the default blue text with drop shadow, but I can't find where that font is being set. Is there a way to overwrite which font and color it uses? I found a solution for those looking to replace ALL section headers in the entire solution. In MonoTouch.Dialog , there is a class named DialogViewController which is used when creating views with the reflection API. And in here, there's a method called GetViewForHeader() . Instead of sending back just the normal

Application Loader reports missing code-signing certificate

混江龙づ霸主 提交于 2019-12-04 05:54:07
问题 I am developing my App in xamarin studio. I want the solution for xamarin Ios app not on xcode. I produce screenshots about my issue.please give me the right solution. I am creating Distribution profile like below: And finally Signing Identity is in Developer(Automatic),everything will be fine and app deploying on device but when uploading to the application loader i am getting below error: Signing Identity is in Developer(Automatic) then i am getting the below error: How Can I Solve This

How can I pass data into MonoTouch.Dialog's delegates?

℡╲_俬逩灬. 提交于 2019-12-03 16:26:13
Given the following code, how can I pass data from "First Name", "Last Name", etc. into my method BookASession.SendMessage(); ? RootElement CreateBookASessionRoot() { return new RootElement("Book a Session") { new Section() { new EntryElement("First Name", "First Name", ""), new EntryElement("Last Name", "Last Name", ""), new EntryElement("Email", "Email", "") { KeyboardType = UIKeyboardType.EmailAddress }, new DateElement("Event Date", DateTime.Now), new RootElement ("Type of Shoot", new RadioGroup (0)){ new Section (){ new RadioElement("Wedding"), new RadioElement("Portrait"), new

Application Loader reports missing code-signing certificate

偶尔善良 提交于 2019-12-02 10:45:51
I am developing my App in xamarin studio. I want the solution for xamarin Ios app not on xcode. I produce screenshots about my issue.please give me the right solution. I am creating Distribution profile like below: And finally Signing Identity is in Developer(Automatic),everything will be fine and app deploying on device but when uploading to the application loader i am getting below error: Signing Identity is in Developer(Automatic) then i am getting the below error: How Can I Solve This?Please help me. 来源: https://stackoverflow.com/questions/38330907/application-loader-reports-missing-code

MonoTouch.Dialog crash

本小妞迷上赌 提交于 2019-12-02 05:17:08
I have a small test app which just cycles between 3 pages. Here is AppDelegate: public override bool FinishedLaunching (UIApplication app, NSDictionary options) { _session = new Session(); _session.NextScreen += (screenIndex) => { window.RootViewController = _viewControllers[screenIndex]; }; _viewControllers.Add(new Screen0(_session)); _viewControllers.Add(new Screen1(_session)); _viewControllers.Add(new Screen2(_session)); // create a new window instance based on the screen size window = new UIWindow (UIScreen.MainScreen.Bounds); // If you have defined a view, add it here: // window

MonoTouch.Dialog: Setting Entry Alignment for EntryElement

纵然是瞬间 提交于 2019-12-01 08:46:54
Using the EntryElement to enter data as is results in the data being entered being aligned sort of in the middle. How do I specify that the entry should be right aligned on an iPad. For example: poupou Have you tried overriding CreateTextField on EntryElement ? That should give you complete control on how to create the UITextField being used for the entry part of the element. Update Notice that if you override CreateTextField, you should also override the Cellkey property, to ensure that this cell is not shared through the UITableView cell-sharing machinery with other EntryElements. Of course

MonoTouch.Dialog: Setting Entry Alignment for EntryElement

对着背影说爱祢 提交于 2019-12-01 05:37:21
问题 Using the EntryElement to enter data as is results in the data being entered being aligned sort of in the middle. How do I specify that the entry should be right aligned on an iPad. For example: 回答1: Have you tried overriding CreateTextField on EntryElement ? That should give you complete control on how to create the UITextField being used for the entry part of the element. Update Notice that if you override CreateTextField, you should also override the Cellkey property, to ensure that this

Use Mvvmcross Binding with MonoTouch.Dialog (Lists and Commands)

自作多情 提交于 2019-12-01 01:00:49
1. Binding Lists I wonder how I could bind a ObservableCollection to a Radiogroup: new Section(){ new RootElement("Mandanten", new RadioGroup("mandanten", 2)) { new Section(){ new RadioElement("Kupus", "mandanten"), new RadioElement("Kajmak", "mandanten") } } } as you see here I'm creating 2 Items/Elements manually but I miss something like an "ItemsSource". If its not possible, what recommendation would you give me? To use witch Control (to bind Lists)? 2. CommandBinding As I see theres no "button" in MonoTouch.Dialog. So I saw that we'll use "StringElement". I tried it, but after tapping on

MonoTouch.Dialog: Responding to a RadioGroup Choice

核能气质少年 提交于 2019-11-30 02:24:21
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 code once a Doctor has been chosen. What's the best way to be notified that a RadioElement has been selected? Create your own RadioElement like: class MyRadioElement : RadioElement { public MyRadioElement (string s) : base (s) {} public override void Selected (DialogViewController dvc, UITableView tableView, NSIndexPath path) { base.Selected (dvc, tableView, path); var

MonoTouch.Dialog: Dismissing keyboard by touching anywhere in DialogViewController

ⅰ亾dé卋堺 提交于 2019-11-27 21:20:29
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 and a UITabBarController. One of my tabs is "Settings"... When the user starts typing, the keyboard obstructs the tabbar... Using MonoTouch.Dialog, the only way to dismiss the keyboard is to go to the last field and press the "return" key. Considering the fact that the user cannot press any tab until the keyboard is gone, I would like a better way