private void UpdateScrollBehavior ()
{
if (observer.SupportsScrollPattern == true)
SetBehavior (ScrollPatternIdentifiers.Pattern,
new ScrollProviderBehavior (this));
else
SetBehavior (ScrollPatternIdentifiers.Pattern, null);
if (ScrollPatternSupportChanged != null)
ScrollPatternSupportChanged ();
}