I'm unable to post any questions.

Abhijit Shrikhande 317 Reputation points
2021-11-23T15:34:40.57+00:00

How do I ask a question on here?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,308 questions
0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. Abhijit Shrikhande 317 Reputation points
    2021-11-23T15:36:00.29+00:00

    this is the question I wanted to post to the XAMARIN forums.

    I have created a simple xamarin form that depicts the login flow in an application. One of the features in the application is a show/hide password icon. When I run the project, I notice that the breakpoint does get hit, but there is no effect on the application.151815-showhidepass.png

    The complete project (2 Xamarin pages) has been uploaded to github
    https://github.com/abhidotnet/ShowHidePass.git
    The C# code in the loginviewmodel is

    using System.Windows.Input;  
    using ShowHidePass.Views;  
    using System;  
    using System.Collections.Generic;  
    using System.Text;  
    using Xamarin.Forms;  
    using Android.Content.Res;  
      
    namespace ShowHidePass.ViewModels  
    {  
        public class LoginViewModel : BaseViewModel  
        {  
      
            public string UserName { get; set; }  
            public string Password { get; set; }  
            public bool HidePassword { get; set; }  
            public string EyeIcon  
            {  
                get  
                {  
                    return HidePassword ? "eye.png" : "eyehidden.png";  
                }  
                set  
                {  
                    EyeIcon = value;  
                    OnPropertyChanged(nameof(EyeIcon));  
                }  
            }  
            public ICommand ShowPasswordCommand =>  
                new Command(HidePasswordChange);  
            public Command LoginCommand { get; }  
      
            public LoginViewModel()  
            {  
                  
                HidePassword = true;  
                LoginCommand = new Command(OnLoginClicked);  
            }  
      
            private void HidePasswordChange()  
            {  
                HidePassword = !HidePassword;  
            }  
      
            private async void OnLoginClicked(object obj)  
            {  
                // Prefixing with `//` switches to a different navigation stack instead of pushing to the active one  
                await Application.Current.MainPage.Navigation.PushAsync(new NavigationPage(new AboutPage()));  
            }  
        }  
    }  
    
    0 comments No comments

  2. Abhijit Shrikhande 317 Reputation points
    2021-11-23T15:36:00.31+00:00

    this is the question I wanted to post to the XAMARIN forums.

    I have created a simple xamarin form that depicts the login flow in an application. One of the features in the application is a show/hide password icon. When I run the project, I notice that the breakpoint does get hit, but there is no effect on the application.151815-showhidepass.png

    The complete project (2 Xamarin pages) has been uploaded to github
    https://github.com/abhidotnet/ShowHidePass.git
    The C# code in the loginviewmodel is

    using System.Windows.Input;  
    using ShowHidePass.Views;  
    using System;  
    using System.Collections.Generic;  
    using System.Text;  
    using Xamarin.Forms;  
    using Android.Content.Res;  
      
    namespace ShowHidePass.ViewModels  
    {  
        public class LoginViewModel : BaseViewModel  
        {  
      
            public string UserName { get; set; }  
            public string Password { get; set; }  
            public bool HidePassword { get; set; }  
            public string EyeIcon  
            {  
                get  
                {  
                    return HidePassword ? "eye.png" : "eyehidden.png";  
                }  
                set  
                {  
                    EyeIcon = value;  
                    OnPropertyChanged(nameof(EyeIcon));  
                }  
            }  
            public ICommand ShowPasswordCommand =>  
                new Command(HidePasswordChange);  
            public Command LoginCommand { get; }  
      
            public LoginViewModel()  
            {  
                  
                HidePassword = true;  
                LoginCommand = new Command(OnLoginClicked);  
            }  
      
            private void HidePasswordChange()  
            {  
                HidePassword = !HidePassword;  
            }  
      
            private async void OnLoginClicked(object obj)  
            {  
                // Prefixing with `//` switches to a different navigation stack instead of pushing to the active one  
                await Application.Current.MainPage.Navigation.PushAsync(new NavigationPage(new AboutPage()));  
            }  
        }  
    }  
    
    0 comments No comments

  3. Abhijit Shrikhande 317 Reputation points
    2021-11-23T15:36:00.553+00:00

    this is the question I wanted to post to the XAMARIN forums.

    I have created a simple xamarin form that depicts the login flow in an application. One of the features in the application is a show/hide password icon. When I run the project, I notice that the breakpoint does get hit, but there is no effect on the application.151815-showhidepass.png

    The complete project (2 Xamarin pages) has been uploaded to github
    https://github.com/abhidotnet/ShowHidePass.git
    The C# code in the loginviewmodel is

    using System.Windows.Input;  
    using ShowHidePass.Views;  
    using System;  
    using System.Collections.Generic;  
    using System.Text;  
    using Xamarin.Forms;  
    using Android.Content.Res;  
      
    namespace ShowHidePass.ViewModels  
    {  
        public class LoginViewModel : BaseViewModel  
        {  
      
            public string UserName { get; set; }  
            public string Password { get; set; }  
            public bool HidePassword { get; set; }  
            public string EyeIcon  
            {  
                get  
                {  
                    return HidePassword ? "eye.png" : "eyehidden.png";  
                }  
                set  
                {  
                    EyeIcon = value;  
                    OnPropertyChanged(nameof(EyeIcon));  
                }  
            }  
            public ICommand ShowPasswordCommand =>  
                new Command(HidePasswordChange);  
            public Command LoginCommand { get; }  
      
            public LoginViewModel()  
            {  
                  
                HidePassword = true;  
                LoginCommand = new Command(OnLoginClicked);  
            }  
      
            private void HidePasswordChange()  
            {  
                HidePassword = !HidePassword;  
            }  
      
            private async void OnLoginClicked(object obj)  
            {  
                // Prefixing with `//` switches to a different navigation stack instead of pushing to the active one  
                await Application.Current.MainPage.Navigation.PushAsync(new NavigationPage(new AboutPage()));  
            }  
        }  
    }  
    
    0 comments No comments

  4. Abhijit Shrikhande 317 Reputation points
    2021-11-23T15:36:00.773+00:00

    this is the question I wanted to post to the XAMARIN forums.

    I have created a simple xamarin form that depicts the login flow in an application. One of the features in the application is a show/hide password icon. When I run the project, I notice that the breakpoint does get hit, but there is no effect on the application.151815-showhidepass.png

    The complete project (2 Xamarin pages) has been uploaded to github
    https://github.com/abhidotnet/ShowHidePass.git
    The C# code in the loginviewmodel is

    using System.Windows.Input;  
    using ShowHidePass.Views;  
    using System;  
    using System.Collections.Generic;  
    using System.Text;  
    using Xamarin.Forms;  
    using Android.Content.Res;  
      
    namespace ShowHidePass.ViewModels  
    {  
        public class LoginViewModel : BaseViewModel  
        {  
      
            public string UserName { get; set; }  
            public string Password { get; set; }  
            public bool HidePassword { get; set; }  
            public string EyeIcon  
            {  
                get  
                {  
                    return HidePassword ? "eye.png" : "eyehidden.png";  
                }  
                set  
                {  
                    EyeIcon = value;  
                    OnPropertyChanged(nameof(EyeIcon));  
                }  
            }  
            public ICommand ShowPasswordCommand =>  
                new Command(HidePasswordChange);  
            public Command LoginCommand { get; }  
      
            public LoginViewModel()  
            {  
                  
                HidePassword = true;  
                LoginCommand = new Command(OnLoginClicked);  
            }  
      
            private void HidePasswordChange()  
            {  
                HidePassword = !HidePassword;  
            }  
      
            private async void OnLoginClicked(object obj)  
            {  
                // Prefixing with `//` switches to a different navigation stack instead of pushing to the active one  
                await Application.Current.MainPage.Navigation.PushAsync(new NavigationPage(new AboutPage()));  
            }  
        }  
    }  
    
    0 comments No comments

  5. Abhijit Shrikhande 317 Reputation points
    2021-11-23T15:38:14.357+00:00

    I suspect that the QnA forums do not allow you to write XAML in the post. Can someone from Microsoft please confirm this? I removed the XAML and was able to post my question to the right forum.

    0 comments No comments