Hi Robert,
Thank you for using syncfusion products.
#Regarding Styling a DataForm using xaml
We would like to inform you that you can achieve your requirement with help of setting style in the ResourceDictionary in SfDataForm. Please refer to the following code snippet for your reference.
Code Snippet
|
<ContentPage.Resources>
<syncTheme:SyncfusionThemeDictionary>
<syncTheme:SyncfusionThemeDictionary.MergedDictionaries>
<dataForm:SfDataFormStyles />
<ResourceDictionary>
<Color x:Key="SfDataFormEditorTextColor">Red</Color>
<Color x:Key="SfDataFormLabelTextColor">Green</Color>
</ResourceDictionary>
</syncTheme:SyncfusionThemeDictionary.MergedDictionaries>
</syncTheme:SyncfusionThemeDictionary>
</ContentPage.Resources> |
Please refer to the tested sample in the following link for your reference.
Please let us know if you have any concern.
Regards,
SaiGanesh Sakthivel