protected void SetHudMode(MBProgressHUDMode mode)
 {
     myHud.Mode = mode;
 }
 protected void ShowHud(string titleLabel = "", MBProgressHUDMode mode = MBProgressHUDMode.Indeterminate)
 {
     InvokeOnMainThread(() =>
         {
             myHud = MTMBProgressHUD.ShowHUD(UIApplication.SharedApplication.KeyWindow.RootViewController.View, true);
             myHud.LabelText = titleLabel;
             myHud.Mode = mode;
         });
 }
 protected void ShowHud(string titleLabel = "", MBProgressHUDMode mode = MBProgressHUDMode.Indeterminate)
 {
     InvokeOnMainThread(() =>
         {
             myHud = MTMBProgressHUD.ShowHUD(View, true);
             myHud.LabelText = titleLabel;
             myHud.Mode = mode;
         });
 }
		public static void SetMode (this IMTMBProgressHUD This, MBProgressHUDMode value)
		{
			ApiDefinition.Messaging.void_objc_msgSend_int (This.Handle, Selector.GetHandle ("setMode:"), (int)value);
		}