You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Gets or sets a value indicating whether this behavior will remain attached after the associated element enters the viewport. When false, the behavior will remove itself after entering.
// DependencyProperty.Register(nameof(IsAlwaysOn), typeof(bool), typeof(ViewportBehavior), new PropertyMetadata(true));
41
41
42
42
/// <summary>
43
43
/// Associated element fully enter the ScrollViewer viewport event
@@ -59,14 +59,14 @@ public class ViewportBehavior : BehaviorBase<FrameworkElement>
59
59
/// </summary>
60
60
publiceventEventHandlerExitingViewport;
61
61
62
-
/// <summary>
63
-
/// Gets or sets a value indicating whether this behavior will remain attached after the associated element enters the viewport. When false, the behavior will remove itself after entering.
64
-
/// </summary>
65
-
publicboolIsAlwaysOn
66
-
{
67
-
get{return(bool)GetValue(IsAlwaysOnProperty);}
68
-
set{SetValue(IsAlwaysOnProperty,value);}
69
-
}
62
+
///// <summary>
63
+
///// Gets or sets a value indicating whether this behavior will remain attached after the associated element enters the viewport. When false, the behavior will remove itself after entering.
64
+
///// </summary>
65
+
//public bool IsAlwaysOn
66
+
//{
67
+
// get { return (bool)GetValue(IsAlwaysOnProperty); }
68
+
// set { SetValue(IsAlwaysOnProperty, value); }
69
+
//}
70
70
71
71
/// <summary>
72
72
/// Gets a value indicating whether associated element is fully in the ScrollViewer viewport
0 commit comments