Skip to content

Instantly share code, notes, and snippets.

@yaronn
Created April 26, 2012 20:50
Show Gist options
  • Save yaronn/2503069 to your computer and use it in GitHub Desktop.
Save yaronn/2503069 to your computer and use it in GitHub Desktop.
public class ValidateMustUnderstandElement : BehaviorExtensionElement
{
public override Type BehaviorType
{
get { return typeof (MustUnderstandBehavior); }
}
protected override object CreateBehavior()
{
return new MustUnderstandBehavior(false);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment