Esempio n. 1
0
        public static T GetAttachedValue <T>(Binding.BindableObject bindable, Binding.BindableProperty property)
        {
            if (bindable == null)
            {
                throw new ArgumentNullException(nameof(bindable));
            }

            return((T)bindable.GetValue(property));
        }
Esempio n. 2
0
 internal override bool GetState(BindableObject bindable)
 {
     return((bool)bindable.GetValue(_stateProperty));
 }