Esempio n. 1
0
 void IDragUIOverrideResolver.SetContentFromSoftwareBitmap(DragUIOverride dragUIOverride, SoftwareBitmap softwareBitmap, Point anchorPoint) => dragUIOverride.SetContentFromSoftwareBitmap(softwareBitmap, anchorPoint);
Esempio n. 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);
Esempio n. 3
0
 string IDragUIOverrideResolver.Caption(DragUIOverride dragUIOverride) => dragUIOverride.Caption;
Esempio n. 4
0
 void IDragUIOverrideResolver.SetContentFromSoftwareBitmap(DragUIOverride dragUIOverride, SoftwareBitmap softwareBitmap) => dragUIOverride.SetContentFromSoftwareBitmap(softwareBitmap);
Esempio n. 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);
Esempio n. 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);
Esempio n. 7
0
 bool IDragUIOverrideResolver.IsGlyphVisible(DragUIOverride dragUIOverride) => dragUIOverride.IsGlyphVisible;
Esempio n. 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);
Esempio n. 9
0
 bool IDragUIOverrideResolver.IsCaptionVisible(DragUIOverride dragUIOverride) => dragUIOverride.IsCaptionVisible;
Esempio n. 10
0
 void IDragUIOverrideResolver.IsCaptionVisible(DragUIOverride dragUIOverride, bool isCaptionVisible) => dragUIOverride.IsCaptionVisible = isCaptionVisible;
Esempio n. 11
0
 void IDragUIOverrideResolver.IsContentVisible(DragUIOverride dragUIOverride, bool isContentVisible) => dragUIOverride.IsContentVisible = isContentVisible;
Esempio n. 12
0
 bool IDragUIOverrideResolver.IsContentVisible(DragUIOverride dragUIOverride) => dragUIOverride.IsContentVisible;
Esempio n. 13
0
 void IDragUIOverrideResolver.Caption(DragUIOverride dragUIOverride, string caption) => dragUIOverride.Caption = caption;
Esempio n. 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);
Esempio n. 15
0
 void IDragUIOverrideResolver.IsGlyphVisible(DragUIOverride dragUIOverride, bool isGlyphVisible) => dragUIOverride.IsGlyphVisible = isGlyphVisible;
Esempio n. 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);
Esempio n. 17
0
 void IDragUIOverrideResolver.Clear(DragUIOverride dragUIOverride) => dragUIOverride.Clear();
Esempio n. 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);
Esempio n. 19
0
 void IDragUIOverrideResolver.SetContentFromBitmapImage(DragUIOverride dragUIOverride, BitmapImage bitmapImage) => dragUIOverride.SetContentFromBitmapImage(bitmapImage);
Esempio n. 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);
Esempio n. 21
0
 void IDragUIOverrideResolver.SetContentFromBitmapImage(DragUIOverride dragUIOverride, BitmapImage bitmapImage, Point anchorPoint) => dragUIOverride.SetContentFromBitmapImage(bitmapImage, anchorPoint);
Esempio n. 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);
Esempio n. 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);