diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-01-27 14:01:18 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-01-27 14:01:18 +0100 |
| commit | bd45fd655c1314660349e009e761d1b0abb68fa6 (patch) | |
| tree | e8741686d4bfe7fcffb4f7f16d7b801339f297b4 /src | |
| parent | 8c60c6b6e1a8c5c9cd4b4b12bf9796c889a2eadd (diff) | |
test refresh of scrollbar in listbox template, add RegisterForGraphicUpdate in scroller props
Diffstat (limited to 'src')
| -rw-r--r-- | src/GraphicObjects/Scrollbar.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/GraphicObjects/Scrollbar.cs b/src/GraphicObjects/Scrollbar.cs index 8e3b2db5..956d96ab 100644 --- a/src/GraphicObjects/Scrollbar.cs +++ b/src/GraphicObjects/Scrollbar.cs @@ -46,6 +46,7 @@ namespace go if (_maximumScroll == value)
return;
_maximumScroll = value;
+ registerForGraphicUpdate ();
ValueChanged.Raise(this, new ValueChangeEventArgs ("MaximumScroll", _maximumScroll));
}
}
@@ -74,6 +75,7 @@ namespace go return;
_orientation = value;
ValueChanged.Raise(this, new ValueChangeEventArgs ("Orientation", _orientation));
+ registerForGraphicUpdate ();
}
}
public void onScrollBack (object sender, MouseButtonEventArgs e)
|