DataForm: PositiveFeedback Issue

3 posts, 1 answers
  1. Geoff
    Geoff avatar
    5 posts
    Member since:
    Jul 2016

    Posted 02 Nov 2018 Link to this post

    Hi there

    1. We have a fully working DataForm but have an issue with PositiveFeedback.

    Basically we have a couple of enumerators that work fine but every time we load the form the PositiveFeedback is triggered and they show the green background. How do we turn this off? I cant find any resources on how to achieve this.

    Same thing happens with some date controls. As we are defaulting dates on form load the positive feedback is triggered and they show the green background.

    Can anyone point me in the right direction?

    Thanks in advance

    Geoff

     

     

  2. Answer
    Lance | Technical Support Engineer, Principal
    Admin
    Lance | Technical Support Engineer, Principal avatar
    1022 posts

    Posted 05 Nov 2018 Link to this post

    Hello Geoff,

    This can be set using the Editor Style property. You'd create an instance of the DataFormEditorStyle object, set the customization (there are a lot of options) desired and then set that instance to the DataForm.EditorStyle property.

    I recommend visiting the Editor Style and Group Styling articles to see more thorough examples, including using images instead of colors (e.g. checkmark).


    Direct Example

    Since you're looking to avoid the green colored background, you can set the PositiveFeedbackBackground to Transparent: 

    dataForm.EditorStyle = new DataFormEditorStyle
    {
        PositiveFeedbackBackground = Color.Transparent,
        PositiveFeedbackForeground = Color.Black
    };

    Here's the result at runtime using the last demo I wrote for you:




    Wrapping Up

    If this answers your question, you can let me know by using this thread's "Mark as resolved" button (in the ticket or email). If you have any further issues, reply back with the problematic code and I'll investigate directly.

    Thank you for contacting Support and for choosing UI for Xamarin.


    Side Note:  I'm not sure if you intended to open this thread in the forums, but I wanted to mention this just in case.

    Although we try our best to monitor and respond to forum posts in a timely manner, this can be limited by available resources (mainly available engineers) mand may take a day or two. To guarantee a speedy reply, I recommend opening a support ticket for important issues to take advantage of your Priority Support license.

    Regards,
    Lance | Tech Support Engineer, Sr.
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. Geoff
    Geoff avatar
    5 posts
    Member since:
    Jul 2016

    Posted 05 Nov 2018 in reply to Lance | Technical Support Engineer, Principal Link to this post

    Thanks Lance - as usual really helpful :)

    Given the simple nature of the issue I posted to the forums as I thought this was better answered here than as a support request.

    Appreciate your help

    All the best

    Geoff

     

Back to Top