Beispiel #1
0
 IList <UIElement> IAnchorRequestedEventArgsResolver.AnchorCandidates(AnchorRequestedEventArgs e) => e.AnchorCandidates;
Beispiel #2
0
 void IAnchorRequestedEventArgsResolver.Anchor(AnchorRequestedEventArgs e, UIElement anchor) => e.Anchor = anchor;
Beispiel #3
0
 UIElement IAnchorRequestedEventArgsResolver.Anchor(AnchorRequestedEventArgs e) => e.Anchor;
Beispiel #4
0
 /// <summary>
 /// Gets the set of anchor candidates that are currently registered with the scrolling control (e.g. ScrollViewer).
 /// </summary>
 /// <param name="e">The requested <see cref="AnchorRequestedEventArgs"/>.</param>
 /// <returns>A list of UIElement anchor candidates.</returns>
 public static IList <UIElement> AnchorCandidates(this AnchorRequestedEventArgs e) => Resolver.AnchorCandidates(e);
Beispiel #5
0
 /// <summary>
 /// Sets the anchor element to use when performing scroll anchoring.
 /// </summary>
 /// <param name="e">The requested <see cref="AnchorRequestedEventArgs"/>.</param>
 /// <param name="anchor">The UIElement to use as the CurrentAnchor.</param>
 public static void Anchor(this AnchorRequestedEventArgs e, UIElement anchor) => Resolver.Anchor(e, anchor);
Beispiel #6
0
 /// <summary>
 /// Gets the anchor element to use when performing scroll anchoring.
 /// </summary>
 /// <param name="e">The requested <see cref="AnchorRequestedEventArgs"/>.</param>
 /// <returns>The UIElement to use as the CurrentAnchor. The default is <c>null</c>.</returns>
 public static UIElement Anchor(this AnchorRequestedEventArgs e) => Resolver.Anchor(e);