ShareReadability
CustomSlider.cs
Go to the documentation of this file.
1 using System.Windows.Controls;
2 
3 namespace ShareReadability.Util
4 {
5  /// @file CustomSlider.cs
6  /// <inheritdoc />
7  /// <summary>
8  /// This class represents a custom slider which is capable to suppress the ValueChanged event on demand.
9  /// </summary>
10  public class CustomSlider : Slider
11  {
12  public bool DontRunHandler { get; set; }
13 
14  /// <inheritdoc />
15  /// <summary>
16  /// Constructor of the custom slider.
17  /// </summary>
18  public CustomSlider()
19  {
20  DontRunHandler = true;
21  }
22  }
23 }
CustomSlider()
Constructor of the custom slider.
Definition: CustomSlider.cs:18