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
- AttributeCollection.cs
- ImplicitInputBrush.cs
- AutomationPropertyInfo.cs
- StackOverflowException.cs
- UIElementCollection.cs
- LicenseContext.cs
- SerializationAttributes.cs
- TransportConfigurationTypeElement.cs
- GenericIdentity.cs
- XsltSettings.cs
- assertwrapper.cs
- DBConnection.cs
- WebEventCodes.cs
- LineGeometry.cs
- EntityDataSource.cs
- HostingEnvironmentSection.cs
- FlagPanel.cs
- TrueReadOnlyCollection.cs
- BehaviorEditorPart.cs
- XamlRtfConverter.cs
- SoapSchemaImporter.cs
- FileCodeGroup.cs
- MulticastNotSupportedException.cs
- DoubleAnimation.cs
- DataRowChangeEvent.cs
- XmlHierarchicalEnumerable.cs
- BordersPage.cs
- EditingCommands.cs
- MapPathBasedVirtualPathProvider.cs
- XmlWriter.cs
- DateTimeOffset.cs
- BoundField.cs
- _FtpDataStream.cs
- TypeSystem.cs
- HttpPostServerProtocol.cs
- MobileControlsSection.cs
- CacheRequest.cs
- SqlConnectionString.cs
- FontConverter.cs
- QueryCacheEntry.cs
- CompModSwitches.cs
- FixedPageAutomationPeer.cs
- MenuItemStyleCollection.cs
- DataGridViewTextBoxColumn.cs
- ClientTarget.cs
- SoapHelper.cs
- RoleManagerSection.cs
- UpdateEventArgs.cs
- TreeChangeInfo.cs
- LocatorGroup.cs
- EntitySqlQueryCacheEntry.cs
- DataSpaceManager.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- FixedSOMPageElement.cs
- ArrayExtension.cs
- ReadOnlyMetadataCollection.cs
- ModelTypeConverter.cs
- ProfileServiceManager.cs
- StylusDownEventArgs.cs
- ProcessModule.cs
- RuleInfoComparer.cs
- BrushValueSerializer.cs
- DragStartedEventArgs.cs
- Vector3D.cs
- EdmProviderManifest.cs
- DateTimeEditor.cs
- PropertyPathWorker.cs
- TdsParserStaticMethods.cs
- BStrWrapper.cs
- AccessKeyManager.cs
- VectorValueSerializer.cs
- EntityParameterCollection.cs
- ValueUnavailableException.cs
- MediaTimeline.cs
- TraceListeners.cs
- SynchronizedDispatch.cs
- TheQuery.cs
- ChannelBinding.cs
- ArgumentException.cs
- State.cs
- RequestCachePolicyConverter.cs
- RepeaterItemCollection.cs
- mediaeventargs.cs
- ParseHttpDate.cs
- SqlUtils.cs
- KerberosSecurityTokenAuthenticator.cs
- ClipboardProcessor.cs
- ToolboxItemWrapper.cs
- ProfessionalColorTable.cs
- ContainerParagraph.cs
- DesignerSerializerAttribute.cs
- SoapEnvelopeProcessingElement.cs
- AsyncResult.cs
- DoubleConverter.cs
- EntityDataSource.cs
- MetaData.cs
- DrawingContextWalker.cs
- StrongNameSignatureInformation.cs
- AttachmentService.cs
- ChtmlTextWriter.cs