wpf-demos/olapgauge/Views/Customization.xaml.cs

39 строки
1.1 KiB
C#

#region Copyright Syncfusion Inc. 2001 - 2024
// Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
namespace syncfusion.olapgaugedemos.wpf
{
using syncfusion.demoscommon.wpf;
/// <summary>
/// Interaction logic for Customization.xaml
/// </summary>
public partial class Customization : DemoControl
{
public Customization()
{
InitializeComponent();
}
protected override void Dispose(bool disposing)
{
// Release all resources
(this.DataContext as CustomizationViewModel).Dispose();
this.DataContext = null;
if (this.olapGauge1 != null)
{
this.olapGauge1.Dispose();
this.olapGauge1 = null;
}
base.Dispose(disposing);
}
}
}