Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

141 lines
6.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="DragDropEffects" FullName="System.Windows.Forms.DragDropEffects">
<TypeSignature Language="C#" Value="public enum DragDropEffects" />
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Enum</BaseTypeName>
</Base>
<Attributes>
<Attribute>
<AttributeName>System.Flags</AttributeName>
</Attribute>
</Attributes>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This enumeration is used by the following classes: <see cref="T:System.Windows.Forms.DragEventArgs" />, <see cref="T:System.Windows.Forms.GiveFeedbackEventArgs" />, and <see cref="T:System.Windows.Forms.Control" />.</para>
<para>You can use <see cref="T:System.Windows.Forms.DragDropEffects" /> to display different mouse pointers for drag-and-drop operations. For example, you can display a plus symbol for a <see cref="F:System.Windows.Forms.DragDropEffects.Copy" /> drag-and-drop operation, an arrow symbol for a <see cref="F:System.Windows.Forms.DragDropEffects.Move" /> drag-and-drop operation, or a red circle with a line through it symbol for a <see cref="F:System.Windows.Forms.DragDropEffects.None" /> drag-and-drop operation.</para>
<para>If you want to drop data at a position in the target that is not currently visible, you could scroll the target while dragging. If a target does not support scrolling, you must make sure that the drop position is visible in the target before you begin the drag-and-drop operation. The following are some scenarios when you might want to scroll a target:</para>
<list type="bullet">
<item>
<para>You are dragging text into a document, and you want to drop the text at a position not visible in the document window.</para>
</item>
<item>
<para>You are dragging a file into a file tree, and you want to drop the file on a node not visible in the file tree.</para>
</item>
</list>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Specifies the possible effects of a drag-and-drop operation.</para>
</summary>
</Docs>
<Members>
<Member MemberName="All">
<MemberSignature Language="C#" Value="All" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Windows.Forms.DragDropEffects</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The combination of the <see cref="F:System.Windows.DragDropEffects.Copy" />, <see cref="F:System.Windows.Forms.DragDropEffects.Move" />, and <see cref="F:System.Windows.Forms.DragDropEffects.Scroll" /> effects.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Copy">
<MemberSignature Language="C#" Value="Copy" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Windows.Forms.DragDropEffects</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The data from the drag source is copied to the drop target.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Link">
<MemberSignature Language="C#" Value="Link" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Windows.Forms.DragDropEffects</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The data from the drag source is linked to the drop target.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Move">
<MemberSignature Language="C#" Value="Move" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Windows.Forms.DragDropEffects</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The data from the drag source is moved to the drop target.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="None">
<MemberSignature Language="C#" Value="None" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Windows.Forms.DragDropEffects</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The drop target does not accept the data.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Scroll">
<MemberSignature Language="C#" Value="Scroll" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Windows.Forms.DragDropEffects</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The target can be scrolled while dragging to locate a drop position that is not currently visible in the target.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>