Ejemplo n.º 1
0
 /// <summary>
 /// Provides destruction for native element and contained elements.
 /// </summary>
 protected override void OnUnrealize()
 {
     // Views that are not belong to view tree should be unrealized.
     if (IsSplit)
     {
         _drawer.Unrealize();
     }
     else
     {
         _splitPane.Unrealize();
     }
     base.OnUnrealize();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Provides destruction for native element and contained elements.
 /// </summary>
 protected override void OnUnrealize()
 {
     // Views that are not belong to view tree should be unrealized.
     if (_internalMasterBehavior == MasterBehavior.Split)
     {
         _drawer.Unrealize();
     }
     else
     {
         _splitPane.Unrealize();
     }
     base.OnUnrealize();
 }