Skip to content

Commit

Permalink
Update CompareSlider.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
ghost1372 committed Feb 22, 2025
1 parent 4e871f9 commit aa1c12a
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions dev/DevWinUI.Controls/Controls/Others/CompareSlider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,19 @@ private static void OnValueChanged(DependencyObject d, DependencyPropertyChanged

public ImageSource SourceImage
{
get => (ImageSource)GetValue(SourceContentProperty);
set => SetValue(SourceContentProperty, value);
get => (ImageSource)GetValue(SourceImageProperty);
set => SetValue(SourceImageProperty, value);
}
public static readonly DependencyProperty SourceContentProperty =

public static readonly DependencyProperty SourceImageProperty =
DependencyProperty.Register(nameof(SourceImage), typeof(ImageSource), typeof(CompareSlider), new PropertyMetadata(default(ImageSource)));

public ImageSource TargetImage
{
get => (ImageSource)GetValue(TargetContentProperty);
set => SetValue(TargetContentProperty, value);
get => (ImageSource)GetValue(TargetImageProperty);
set => SetValue(TargetImageProperty, value);
}
public static readonly DependencyProperty TargetContentProperty =
public static readonly DependencyProperty TargetImageProperty =
DependencyProperty.Register(nameof(TargetImage), typeof(ImageSource), typeof(CompareSlider), new PropertyMetadata(default(ImageSource)));

public Orientation Orientation
Expand Down

0 comments on commit aa1c12a

Please sign in to comment.