Table of Contents

Migration Guide to v2.11

Version 2.11 comes with some breaking-changes. You should follow this docuemnt to migrate your code to the new version properly.

You can see related PRs with breaking changes from here

Changes

  • ValidationBinding is obsolete now. You should use DataAnnotationsBehavior instead of v:ValidationBinding.

    • Replace v:ValidationBinding with the regular Binding in XAML.

    • Add DataAnnotationsBehavior to the TextField.Behaviors or any other control that you want to validate.

      • Before:

        <material:TextField Text="{v:ValidationBinding Email}"/>
        
      • After:

        <material:TextField Text="{Binding Email}">
            <material:TextField.Behaviors>
                <v:DataAnnotationsBehavior Binding="{Binding Email}" />
            </material:TextField.Behaviors>
        </material:TextField>