/// <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(); }
/// <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(); }