예제 #1
0
 void IBlazorViewHandler.OnComponentLoad(object nativeView)
 {
     NativeView = (TNativeView)nativeView;
     NativeViewUpdated();
     _mapper?.UpdateProperties(this, VirtualView);
     NativeView.NotifyUpdate();
 }
예제 #2
0
        public virtual void SetView(View view)
        {
            VirtualView = view as TVirtualView;

            if (NativeView != null)
            {
                _mapper?.UpdateProperties(this, VirtualView);
                NativeView?.NotifyUpdate();
            }
        }
예제 #3
0
 public virtual void UpdateValue(string property, object value)
 {
     _mapper?.UpdateProperty(this, VirtualView, property);
     NativeView?.NotifyUpdate();
 }