﻿<?xml version="1.0" encoding="utf-8"?><Type Name="SelectionTypes" FullName="System.ComponentModel.Design.SelectionTypes"><TypeSignature Language="C#" Maintainer="auto" Value="public enum SelectionTypes" /><TypeSignature Language="ILAsm" Value=".class public auto ansi sealed SelectionTypes extends System.Enum" /><AssemblyInfo><AssemblyName>System</AssemblyName><AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey><AssemblyVersion>1.0.3300.0</AssemblyVersion><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement><Base><BaseTypeName>System.Enum</BaseTypeName></Base><Attributes><Attribute><AttributeName>System.Flags</AttributeName></Attribute><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName></Attribute></Attributes><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Components of a designer document can be selected using the <see cref="M:System.ComponentModel.Design.ISelectionService.SetSelectedComponents(System.Collections.ICollection)" /> method of the <see cref="T:System.ComponentModel.Design.ISelectionService" />. Some types of actions can operate on a selected component or group of selected components. The <see cref="T:System.ComponentModel.Design.ISelectionService" /> keeps track of the selection type of the current selection. These selection type identifiers indicate whether the selection was completed using a single click, a mouse down or mouse up selection, whether the selection should replace the previous selection, or use the default selection mode.</para><para>Use the <see cref="T:System.ComponentModel.Design.SelectionTypes" /> enumeration to specify the type of a selection when setting a new selection using the <see cref="M:System.ComponentModel.Design.ISelectionService.SetSelectedComponents(System.Collections.ICollection)" /> method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Defines identifiers that indicate the type of a selection.</para></summary></Docs><Members><Member MemberName="Add"><MemberSignature Language="C#" Value="Add" /><MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ComponentModel.Design.SelectionTypes Add = int32(64)" /><MemberType>Field</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.ComponentModel.Design.SelectionTypes</ReturnType></ReturnValue><Docs><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Represents an add selection that adds the selected components to the current selection, maintaining the current set of selected components.</para></summary></Docs></Member><Member MemberName="Auto"><MemberSignature Language="C#" Value="Auto" /><MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ComponentModel.Design.SelectionTypes Auto = int32(1)" /><MemberType>Field</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.ComponentModel.Design.SelectionTypes</ReturnType></ReturnValue><Docs><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Represents a regular selection. The selection service responds to the CTRL and SHIFT keys to support adding or removing components to or from the selection.</para></summary></Docs></Member><Member MemberName="Click"><MemberSignature Language="C#" Value="Click" /><MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ComponentModel.Design.SelectionTypes Click = int32(16)" /><MemberType>Field</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.Obsolete("This value has been deprecated. Use SelectionTypes.Primary instead.")</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.ComponentModel.Design.SelectionTypes</ReturnType></ReturnValue><Parameters /><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Represents a selection that occurs when a user clicks a component. If the newly selected component is already selected, it is promoted to be the primary selected component rather than being canceled.</para></summary></Docs></Member><Member MemberName="MouseDown"><MemberSignature Language="C#" Value="MouseDown" /><MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ComponentModel.Design.SelectionTypes MouseDown = int32(4)" /><MemberType>Field</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.Obsolete("This value has been deprecated. It is no longer supported.")</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.ComponentModel.Design.SelectionTypes</ReturnType></ReturnValue><Parameters /><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Represents a selection that occurs when the user presses on the mouse button while the mouse pointer is over a component. If the component under the pointer is already selected, it is promoted to become the primary selected component rather than being canceled.</para></summary></Docs></Member><Member MemberName="MouseUp"><MemberSignature Language="C#" Value="MouseUp" /><MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ComponentModel.Design.SelectionTypes MouseUp = int32(8)" /><MemberType>Field</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.Obsolete("This value has been deprecated. It is no longer supported.")</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.ComponentModel.Design.SelectionTypes</ReturnType></ReturnValue><Parameters /><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Represents a selection that occurs when the user releases the mouse button immediately after a component has been selected. If the newly selected component is already selected, it is promoted to be the primary selected component rather than being canceled.</para></summary></Docs></Member><Member MemberName="Normal"><MemberSignature Language="C#" Value="Normal" /><MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ComponentModel.Design.SelectionTypes Normal = int32(1)" /><MemberType>Field</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.Obsolete("This value has been deprecated. Use SelectionTypes.Auto instead.")</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.ComponentModel.Design.SelectionTypes</ReturnType></ReturnValue><Parameters /><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Represents a regular selection. The selection service responds to the CTRL and SHIFT keys to support adding or removing components to or from the selection.</para></summary></Docs></Member><Member MemberName="Primary"><MemberSignature Language="C#" Value="Primary" /><MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ComponentModel.Design.SelectionTypes Primary = int32(16)" /><MemberType>Field</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.ComponentModel.Design.SelectionTypes</ReturnType></ReturnValue><Docs><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Represents a primary selection that occurs when a user clicks on a component. If a component in the selection list is already selected, the component is promoted to be the primary selection.</para></summary></Docs></Member><Member MemberName="Remove"><MemberSignature Language="C#" Value="Remove" /><MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ComponentModel.Design.SelectionTypes Remove = int32(128)" /><MemberType>Field</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.ComponentModel.Design.SelectionTypes</ReturnType></ReturnValue><Docs><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Represents a remove selection that removes the selected components from the current selection, maintaining the current set of selected components.</para></summary></Docs></Member><Member MemberName="Replace"><MemberSignature Language="C#" Value="Replace" /><MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ComponentModel.Design.SelectionTypes Replace = int32(2)" /><MemberType>Field</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.ComponentModel.Design.SelectionTypes</ReturnType></ReturnValue><Parameters /><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Represents a selection that occurs when the content of a selection is replaced. The selection service replaces the current selection with the replacement.</para></summary></Docs></Member><Member MemberName="Toggle"><MemberSignature Language="C#" Value="Toggle" /><MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ComponentModel.Design.SelectionTypes Toggle = int32(32)" /><MemberType>Field</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.ComponentModel.Design.SelectionTypes</ReturnType></ReturnValue><Docs><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Represents a toggle selection that switches between the current selection and the provided selection. If a component is already selected and is passed into <see cref="Overload:System.ComponentModel.Design.ISelectionService.SetSelectedComponents" /> with a selection type of <see cref="F:System.ComponentModel.Design.SelectionTypes.Toggle" />, the component selection will be canceled.</para></summary></Docs></Member><Member MemberName="Valid"><MemberSignature Language="C#" Value="Valid" /><MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ComponentModel.Design.SelectionTypes Valid = int32(31)" /><MemberType>Field</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.Obsolete("This value has been deprecated. It is no longer supported.")</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.ComponentModel.Design.SelectionTypes</ReturnType></ReturnValue><Parameters /><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Identifies the valid selection types as <see cref="F:System.ComponentModel.Design.SelectionTypes.Normal" />, <see cref="F:System.ComponentModel.Design.SelectionTypes.Replace" />, <see cref="F:System.ComponentModel.Design.SelectionTypes.MouseDown" />, <see cref="F:System.ComponentModel.Design.SelectionTypes.MouseUp" />, or <see cref="F:System.ComponentModel.Design.SelectionTypes.Click" />.</para></summary></Docs></Member></Members></Type>