Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / MS / Internal / Ink / ElementsClipboardData.cs / 1 / ElementsClipboardData.cs
//---------------------------------------------------------------------------- // // File: ElementsClipboardData.cs // // Description: // A base class which can convert the clipboard data from/to FrameworkElement array // // Features: // // History: // 11/17/2004 [....]: Created // // Copyright (C) 2001 by Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System; using System.Collections; using System.Collections.Generic; using System.Windows; using System.Windows.Controls; namespace MS.Internal.Ink { internal abstract class ElementsClipboardData : ClipboardData { //------------------------------------------------------------------------------- // // Constructors // //------------------------------------------------------------------------------- #region Constructors // The default constructor internal ElementsClipboardData() { } // The constructor which takes a FrameworkElement array. internal ElementsClipboardData(UIElement[] elements) { if ( elements != null ) { ElementList = new List(elements); } } #endregion Constructors //-------------------------------------------------------------------------------- // // Internal Properties // //------------------------------------------------------------------------------- #region Internal Properties // Gets the element array. internal List Elements { get { if ( ElementList != null ) { return _elementList; } else { return new List (); } } } #endregion Internal Properties //-------------------------------------------------------------------------------- // // Protected Properties // //-------------------------------------------------------------------------------- #region Protected Properties // Sets/Gets the internal array list protected List ElementList { get { return _elementList; } set { _elementList = value; } } #endregion Protected Properties //------------------------------------------------------------------------------- // // Private Fields // //-------------------------------------------------------------------------------- #region Private Fields private List _elementList; #endregion Private Fields } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ImageClickEventArgs.cs
- ZoneIdentityPermission.cs
- SizeAnimationClockResource.cs
- XpsInterleavingPolicy.cs
- EntityContainerEntitySet.cs
- FlowLayoutPanel.cs
- SystemNetHelpers.cs
- MultiSelectRootGridEntry.cs
- MobileUITypeEditor.cs
- Blend.cs
- OdbcPermission.cs
- TypeUtils.cs
- TypeGenericEnumerableViewSchema.cs
- OrderedDictionary.cs
- XmlArrayItemAttribute.cs
- AbstractSvcMapFileLoader.cs
- CrossContextChannel.cs
- AspProxy.cs
- WebMessageFormatHelper.cs
- PassportAuthenticationModule.cs
- MetabaseSettingsIis7.cs
- MessageFilterException.cs
- OutputCacheModule.cs
- DrawingCollection.cs
- ManagedIStream.cs
- SqlServer2KCompatibilityCheck.cs
- ConditionalAttribute.cs
- MasterPageParser.cs
- KeySplineConverter.cs
- Multiply.cs
- Authorization.cs
- PointF.cs
- NonParentingControl.cs
- SystemPens.cs
- RSAOAEPKeyExchangeDeformatter.cs
- EventRecordWrittenEventArgs.cs
- SessionParameter.cs
- DataGridColumn.cs
- OleDbConnection.cs
- OutOfMemoryException.cs
- ClaimTypeElementCollection.cs
- CompilerGeneratedAttribute.cs
- QilNode.cs
- DataColumn.cs
- TaskFactory.cs
- SafeSystemMetrics.cs
- DynamicILGenerator.cs
- BufferedWebEventProvider.cs
- SoapIncludeAttribute.cs
- LocalizeDesigner.cs
- LayoutExceptionEventArgs.cs
- ToolStripSeparatorRenderEventArgs.cs
- GB18030Encoding.cs
- WorkflowDesignerMessageFilter.cs
- figurelengthconverter.cs
- ToolStripRenderer.cs
- EditorBrowsableAttribute.cs
- StickyNote.cs
- XmlWrappingWriter.cs
- InsufficientMemoryException.cs
- XmlWhitespace.cs
- CommonDialog.cs
- ExpressionPrinter.cs
- InputScope.cs
- ZipIOModeEnforcingStream.cs
- ServiceDurableInstanceContextProvider.cs
- ExclusiveHandle.cs
- KeyValueSerializer.cs
- MonitoringDescriptionAttribute.cs
- WebPartConnectionsDisconnectVerb.cs
- ConvertersCollection.cs
- InternalsVisibleToAttribute.cs
- UnsafeNativeMethodsCLR.cs
- ReadOnlyDataSourceView.cs
- MainMenu.cs
- ProtocolsSection.cs
- EntityDesignerDataSourceView.cs
- RoutingSection.cs
- HttpRequestCacheValidator.cs
- Codec.cs
- WebPageTraceListener.cs
- AssemblySettingAttributes.cs
- PointAnimationUsingPath.cs
- MessageQueueAccessControlEntry.cs
- SqlFacetAttribute.cs
- XmlUrlResolver.cs
- CacheForPrimitiveTypes.cs
- DataContext.cs
- SafeEventLogWriteHandle.cs
- ColumnHeaderConverter.cs
- KerberosTokenFactoryCredential.cs
- SelectionPattern.cs
- NonSerializedAttribute.cs
- PeerCustomResolverElement.cs
- ForeignKeyConstraint.cs
- ValidatorAttribute.cs
- DataGridViewCellCollection.cs
- CDSCollectionETWBCLProvider.cs
- LineInfo.cs
- TypeElement.cs