Last active
August 25, 2018 18:55
-
-
Save ameerthehacker/ebc9878b06cd7a7ca77ce0a9628fa5b7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Xamarin.Forms; | |
using System.Collections.Generic; | |
namespace XamarinFormValidation.Behaviors | |
{ | |
public class ValidationGroupBehavior: Behavior<View> | |
{ | |
IList<ValidationBehavior> _validationBehaviors; | |
public static readonly BindableProperty IsValidProperty = | |
BindableProperty.Create("IsValid", | |
typeof(bool), | |
typeof(ValidationGroupBehavior), | |
false); | |
public ValidationGroupBehavior() | |
{ | |
_validationBehaviors = new List<ValidationBehavior>(); | |
} | |
... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment