Пример #1
0
 IList <UIElement> IAnchorRequestedEventArgsResolver.AnchorCandidates(AnchorRequestedEventArgs e) => e.AnchorCandidates;
Пример #2
0
 void IAnchorRequestedEventArgsResolver.Anchor(AnchorRequestedEventArgs e, UIElement anchor) => e.Anchor = anchor;
Пример #3
0
 UIElement IAnchorRequestedEventArgsResolver.Anchor(AnchorRequestedEventArgs e) => e.Anchor;
Пример #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);
Пример #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);
Пример #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);