Пример #1
0
 void IDragUIOverrideResolver.SetContentFromSoftwareBitmap(DragUIOverride dragUIOverride, SoftwareBitmap softwareBitmap, Point anchorPoint) => dragUIOverride.SetContentFromSoftwareBitmap(softwareBitmap, anchorPoint);
Пример #2
0
 /// <summary>
 /// Gets the caption text that overlays the drag visual. The text typically describes the drag-and-drop action.
 /// </summary>
 /// <param name="dragUIOverride">The requested <see cref="DragUIOverride"/>.</param>
 /// <returns>The caption text that overlays the drag visual.</returns>
 public static string Caption(this DragUIOverride dragUIOverride) => Resolver.Caption(dragUIOverride);
Пример #3
0
 string IDragUIOverrideResolver.Caption(DragUIOverride dragUIOverride) => dragUIOverride.Caption;
Пример #4
0
 void IDragUIOverrideResolver.SetContentFromSoftwareBitmap(DragUIOverride dragUIOverride, SoftwareBitmap softwareBitmap) => dragUIOverride.SetContentFromSoftwareBitmap(softwareBitmap);
Пример #5
0
 /// <summary>
 /// Gets a value that indicates whether the glyph is shown.
 /// </summary>
 /// <param name="dragUIOverride">The requested <see cref="DragUIOverride"/>.</param>
 /// <returns><c>true</c> if the glyph is shown; otherwise, <c>false</c>.</returns>
 public static bool IsGlyphVisible(this DragUIOverride dragUIOverride) => Resolver.IsGlyphVisible(dragUIOverride);
Пример #6
0
 /// <summary>
 /// Clears the content, caption, and glyph of the drag visual.
 /// </summary>
 /// <param name="dragUIOverride">The requested <see cref="DragUIOverride"/>.</param>
 public static void ClearWrapped(this DragUIOverride dragUIOverride) => Resolver.Clear(dragUIOverride);
Пример #7
0
 bool IDragUIOverrideResolver.IsGlyphVisible(DragUIOverride dragUIOverride) => dragUIOverride.IsGlyphVisible;
Пример #8
0
 /// <summary>
 /// Gets a value that indicates whether the caption text is shown.
 /// </summary>
 /// <param name="dragUIOverride">The requested <see cref="DragUIOverride"/>.</param>
 /// <returns><c>true</c> if the caption text is shown; otherwise, <c>false</c>.</returns>
 public static bool IsCaptionVisible(this DragUIOverride dragUIOverride) => Resolver.IsCaptionVisible(dragUIOverride);
Пример #9
0
 bool IDragUIOverrideResolver.IsCaptionVisible(DragUIOverride dragUIOverride) => dragUIOverride.IsCaptionVisible;
Пример #10
0
 void IDragUIOverrideResolver.IsCaptionVisible(DragUIOverride dragUIOverride, bool isCaptionVisible) => dragUIOverride.IsCaptionVisible = isCaptionVisible;
Пример #11
0
 void IDragUIOverrideResolver.IsContentVisible(DragUIOverride dragUIOverride, bool isContentVisible) => dragUIOverride.IsContentVisible = isContentVisible;
Пример #12
0
 bool IDragUIOverrideResolver.IsContentVisible(DragUIOverride dragUIOverride) => dragUIOverride.IsContentVisible;
Пример #13
0
 void IDragUIOverrideResolver.Caption(DragUIOverride dragUIOverride, string caption) => dragUIOverride.Caption = caption;
Пример #14
0
 /// <summary>
 /// Sets the caption text that overlays the drag visual. The text typically describes the drag-and-drop action.
 /// </summary>
 /// <param name="dragUIOverride">The requested <see cref="DragUIOverride"/>.</param>
 /// <param name="caption">The caption text that overlays the drag visual.</param>
 public static void Caption(this DragUIOverride dragUIOverride, string caption) => Resolver.Caption(dragUIOverride, caption);
Пример #15
0
 void IDragUIOverrideResolver.IsGlyphVisible(DragUIOverride dragUIOverride, bool isGlyphVisible) => dragUIOverride.IsGlyphVisible = isGlyphVisible;
Пример #16
0
 /// <summary>
 /// Gets a value that indicates whether the content of the drag visual is shown.
 /// </summary>
 /// <param name="dragUIOverride">The requested <see cref="DragUIOverride"/>.</param>
 /// <returns><c>true</c> if the content is shown; otherwise, <c>false</c>.</returns>
 public static bool IsContentVisible(this DragUIOverride dragUIOverride) => Resolver.IsContentVisible(dragUIOverride);
Пример #17
0
 void IDragUIOverrideResolver.Clear(DragUIOverride dragUIOverride) => dragUIOverride.Clear();
Пример #18
0
 /// <summary>
 /// Sets a value that indicates whether the caption text is shown.
 /// </summary>
 /// <param name="dragUIOverride">The requested <see cref="DragUIOverride"/>.</param>
 /// <param name="isCaptionVisible"><c>true</c> if the caption text is shown; otherwise, <c>false</c>.</param>
 public static void IsCaptionVisible(this DragUIOverride dragUIOverride, bool isCaptionVisible) => Resolver.IsCaptionVisible(dragUIOverride, isCaptionVisible);
Пример #19
0
 void IDragUIOverrideResolver.SetContentFromBitmapImage(DragUIOverride dragUIOverride, BitmapImage bitmapImage) => dragUIOverride.SetContentFromBitmapImage(bitmapImage);
Пример #20
0
 /// <summary>
 /// Sets a value that indicates whether the glyph is shown.
 /// </summary>
 /// <param name="dragUIOverride">The requested <see cref="DragUIOverride"/>.</param>
 /// <param name="isGlyphVisible"><c>true</c> if the glyph is shown; otherwise, <c>false</c>.</param>
 public static void IsGlyphVisible(this DragUIOverride dragUIOverride, bool isGlyphVisible) => Resolver.IsGlyphVisible(dragUIOverride, isGlyphVisible);
Пример #21
0
 void IDragUIOverrideResolver.SetContentFromBitmapImage(DragUIOverride dragUIOverride, BitmapImage bitmapImage, Point anchorPoint) => dragUIOverride.SetContentFromBitmapImage(bitmapImage, anchorPoint);
Пример #22
0
 /// <summary>
 /// Creates a visual element from a provided BitmapImage to represent the dragged data in a drag-and-drop operation.
 /// </summary>
 /// <param name="dragUIOverride">The requested <see cref="DragUIOverride"/>.</param>
 /// <param name="bitmapImage">The source image used to create the drag visual.</param>
 public static void SetContentFromBitmapImageWrapped(this DragUIOverride dragUIOverride, BitmapImage bitmapImage) => Resolver.SetContentFromBitmapImage(dragUIOverride, bitmapImage);
Пример #23
0
 /// <summary>
 /// Creates a visual element from a provided SoftwareBitmap to represent the dragged data in a drag-and-drop operation,
 /// and sets the relative position of the visual from the pointer.
 /// </summary>
 /// <param name="dragUIOverride">The requested <see cref="DragUIOverride"/>.</param>
 /// <param name="softwareBitmap">The source image used to create the drag visual.</param>
 /// <param name="anchorPoint">The relative position of the drag visual from the pointer.</param>
 public static void SetContentFromSoftwareBitmapWrapped(this DragUIOverride dragUIOverride, SoftwareBitmap softwareBitmap, Point anchorPoint) => Resolver.SetContentFromSoftwareBitmap(dragUIOverride, softwareBitmap, anchorPoint);