Style RadDataForm Segmented bar and others elements


#1

Hi
I use this library : http://docs.telerik.com/devtools/nativescript-ui/Controls/Angular/DataForm/dataform-overview for form.
How I can style form element for example SegmentedBar? His background, color, selected background…?
It can be save for both platform


onEditorUpdate(args: DataFormEventData) {
   const entityProperty: EntityProperty = (<RadDataForm>args.object).getPropertyByName(args.propertyName);
        const propEditor: PropertyEditor = entityProperty.editor;
        switch ((propEditor.type)) {
            case "SegmentedEditor": {
                propEditor.className = 'segmented-bar';
                propEditor.style.textAlignment = 'right';
                propEditor.style.tabTextColor = new Color('#294885');
                propEditor.style.color = new Color('#294885');
                propEditor.style.backgroundColor = new Color('#294885');
                propEditor.style.selectedBackgroundColor = new Color('#294885');
                break;
            }
        }
    }

But without effect.

Thanks