DragMode.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // Copyright (c) 2022 Vuplex Inc. All rights reserved.
  2. //
  3. // Licensed under the Vuplex Commercial Software Library License, you may
  4. // not use this file except in compliance with the License. You may obtain
  5. // a copy of the License at
  6. //
  7. // https://vuplex.com/commercial-library-license
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. namespace Vuplex.WebView {
  15. /// <summary>
  16. /// Options for how drag interactions affect
  17. /// WebViewPrefab and CanvasWebViewPrefab.
  18. /// </summary>
  19. public enum DragMode {
  20. /// <summary>
  21. /// Drag interactions trigger scrolling (default).
  22. /// </summary>
  23. DragToScroll,
  24. /// <summary>
  25. /// Drag interactions trigger dragging within the web page
  26. /// (e.g. drag-and-drop, dragging to select text).
  27. /// </summary>
  28. /// <remarks>
  29. /// For information on the limitations of drag interactions on iOS and UWP, please see
  30. /// https://support.vuplex.com/articles/hover-and-drag-limitations.
  31. /// </remarks>
  32. DragWithinPage,
  33. /// <summary>
  34. /// Drag interactions have no effect.
  35. /// </summary>
  36. Disabled
  37. }
  38. }