We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Label position in DataForm

Thread ID:

Created:

Updated:

Platform:

Replies:

142500 Feb 6,2019 05:13 PM UTC Feb 7,2019 12:35 PM UTC Xamarin.Forms 2
loading
Tags: SfDataForm
Roman Zhitnitskiy
Asked On February 6, 2019 07:33 PM UTC

Is it possible for whole form have label position on top but for one control on left (or right).
I created login page using control and have remember me field and it's looks better when switch next to label and on middle of the page

Here is screenshot of the form:



Roman Zhitnitskiy
Replied On February 6, 2019 07:34 PM UTC

Here is model class

public class LoginViewModel : BaseViewModel
    {
        private string _varUserName = default(string);
        [Display(Description = "Your email is your User Name", Prompt = "Enter your e-mail", Name = "User name", Order = 0)]
        [Required(ErrorMessage = "E-mail is required")]
        public string UserName
        {
            get { return _varUserName; }
            set { SetProperty(ref _varUserName, value); }
        }


        private string _varPassword = default(string);
        [DataType(DataType.Password)]
        [Display(Prompt = "Enter password", Order = 1)]
        [Required(ErrorMessage = "Password is required")]
        [StringLength(20, MinimumLength = 6, ErrorMessage = "Password should be at least 6 charachter long and contains upper and lower case charactewrs at at least 1 digit")]
        public string Password
        {
            get { return _varPassword; }
            set { SetProperty(ref _varPassword, value); }
        }

        private bool _varRememberMe = default(bool);
        [Display(Name = "Remember me?")]
   
        public bool RememberMe
        {
            get { return _varRememberMe; }
            set { SetProperty(ref _varRememberMe, value); }
        }
    }
  

Swathi Gopal [Syncfusion]
Replied On February 7, 2019 12:35 PM UTC

Hi Roman, 
 
Thanks for contacting Syncfusion Support.  
 
Currently, we don’t have direct support to Support to set LabelPosition for each DataFormItem in SfDataForm Xamarin Forms. We are always trying to make our products better and feature requests like yours are a key part of our product growth efforts. We have already added this feature request to our database. You can now track the current status of this feature request here. 
 
 
At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest. We will let you know when this feature is implemented. 
 
You can also communicate with us regarding the open features any time using our Feature Report page. 
 
 
Regards,
Swathi G
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon