From af907c0bf92af2efbf60c01252b19bd4377760f2 Mon Sep 17 00:00:00 2001 From: Avishai Dernis Date: Wed, 29 Apr 2026 19:06:34 +0300 Subject: [PATCH] Added public explicit refresh method to GradientSlider --- components/GradientSlider/src/GradientSlider.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) 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() {