예제 #1
0
 public override void ObserveValue(NSString keyPath, NSObject ofObject, NSDictionary change, IntPtr context)
 {
     if (keyPath.IsEqual(HiddenProperty) && ofObject.Equals(ContentView))
     {
         if (ContentView.Hidden)
         {
             OnHidden();
         }
         else
         {
             OnShown();
         }
     }
 }