This is a migrated thread and some comments may be shown as answers.

DataForm: PositiveFeedback Issue

2 Answers 46 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
Geoff
Top achievements
Rank 1
Iron
Geoff asked on 02 Nov 2018, 03:19 PM

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 Answers, 1 is accepted

Sort by
0
Accepted
Lance | Manager Technical Support
Telerik team
answered on 05 Nov 2018, 04:48 PM
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
0
Geoff
Top achievements
Rank 1
Iron
answered on 05 Nov 2018, 04:53 PM

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

 

Tags
DataForm
Asked by
Geoff
Top achievements
Rank 1
Iron
Answers by
Lance | Manager Technical Support
Telerik team
Geoff
Top achievements
Rank 1
Iron
Share this question
or