diff --git a/components/GradientSlider/src/GradientSlider.cs b/components/GradientSlider/src/GradientSlider.cs index f7d3c3c11..4d1a600ad 100644 --- a/components/GradientSlider/src/GradientSlider.cs +++ b/components/GradientSlider/src/GradientSlider.cs @@ -57,6 +57,16 @@ public GradientSlider() ]; } + /// + /// Explicitly reloads the thumbs for the current . + /// + /// + /// This method must be used if a is added or removed from the collection externally. + /// It need not be used when a or is modified, as those changes are automatically observed. + /// See for more details. + /// + public void Refresh() => RefreshThumbs(); + /// protected override void OnApplyTemplate() {