Exemplo n.º 1
0
 public BoundConditional(Context context, IAttributeSet attrs) : base(context, attrs)
 {
     _context = context;
     ViewBinding.FillBoundView(this, context, attrs);
     if (Binding != null && Binding.StartsWith("!"))
     {
         Binding  = Binding.Substring(1);
         Inverted = true;
     }
     BindValue = attrs.GetAttributeProperty(context, Resource.Styleable.BoundConditional, Resource.Styleable.BoundConditional_bindvalue);
 }