示例#1
0
        partial void handleButtonShow(MaterialControls.MDButton sender)
        {
            string     message  = String.Format("Connection time out. Test for long message {0}", count++);
            MDSnackbar snackbar = new MDSnackbar(message, "retry");

            snackbar.ActionTitleColor = UIColorHelper.ColorWithRGBA("#4CAF50");
            snackbar.Multiline        = (count % 2 == 0);
            snackbar.Show();
        }
        void ReleaseDesignerOutlets()
        {
            if (appetizerImageView != null)
            {
                appetizerImageView.Dispose();
                appetizerImageView = null;
            }

            if (appetizerTextView != null)
            {
                appetizerTextView.Dispose();
                appetizerTextView = null;
            }

            if (forwardButton != null)
            {
                forwardButton.Dispose();
                forwardButton = null;
            }
        }
示例#3
0
        partial void buttonShowHandle(MaterialControls.MDButton sender)
        {
            var dialog = new MDTimePickerDialog();

            dialog.Show();
        }
示例#4
0
        partial void handleSingleLineToast(MaterialControls.MDButton sender)
        {
            var toast = new MDToast("Toast test message", 1.0);

            toast.Show();
        }
示例#5
0
        partial void handleLongLineToast(MaterialControls.MDButton sender)
        {
            var toast = new MDToast("Attention! This is a very very very long long text message", 1.0);

            toast.Show();
        }