Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / MS / Internal / Ink / ElementsClipboardData.cs / 1305600 / ElementsClipboardData.cs
//---------------------------------------------------------------------------- // // File: ElementsClipboardData.cs // // Description: // A base class which can convert the clipboard data from/to FrameworkElement array // // Features: // // History: // 11/17/2004 waynezen: 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
- LayoutManager.cs
- AuthenticationServiceManager.cs
- MaskInputRejectedEventArgs.cs
- GridViewUpdatedEventArgs.cs
- InstanceHandleReference.cs
- SqlFormatter.cs
- ResponseBodyWriter.cs
- MultiPropertyDescriptorGridEntry.cs
- StretchValidation.cs
- DbDataSourceEnumerator.cs
- WebPartsPersonalization.cs
- StrongNameMembershipCondition.cs
- Annotation.cs
- DataObjectPastingEventArgs.cs
- DispatchChannelSink.cs
- VerificationAttribute.cs
- Simplifier.cs
- EncodingTable.cs
- remotingproxy.cs
- URI.cs
- ObjectFullSpanRewriter.cs
- Serializer.cs
- VisualBasicExpressionConverter.cs
- SizeLimitedCache.cs
- CommentEmitter.cs
- ProcessHostMapPath.cs
- EmissiveMaterial.cs
- CodeStatement.cs
- TemplateNameScope.cs
- RenderData.cs
- AudioException.cs
- XmlUnspecifiedAttribute.cs
- RowBinding.cs
- AdCreatedEventArgs.cs
- DynamicActionMessageFilter.cs
- SubMenuStyleCollection.cs
- DataGridViewColumnTypeEditor.cs
- TextTreeDeleteContentUndoUnit.cs
- BaseAddressElementCollection.cs
- AddInStore.cs
- LiteralTextParser.cs
- PageFunction.cs
- AcceleratedTokenProviderState.cs
- MaskDescriptors.cs
- BrowserDefinition.cs
- GridViewHeaderRowPresenter.cs
- ToolBarButtonClickEvent.cs
- AnnotationResource.cs
- InfoCardCryptoHelper.cs
- DataGridViewCellFormattingEventArgs.cs
- CatalogZone.cs
- querybuilder.cs
- CultureTableRecord.cs
- RulePatternOps.cs
- DescendantBaseQuery.cs
- SiteMapPath.cs
- XmlEntity.cs
- TransformValueSerializer.cs
- InternalCache.cs
- RayHitTestParameters.cs
- TraceLevelStore.cs
- OdbcDataReader.cs
- ChannelSinkStacks.cs
- DataContractSerializerMessageContractImporter.cs
- DBCommand.cs
- LocatorGroup.cs
- ListBoxAutomationPeer.cs
- DataGridViewDataConnection.cs
- PathSegment.cs
- MsmqIntegrationChannelFactory.cs
- ActivityContext.cs
- ConfigDefinitionUpdates.cs
- Application.cs
- ResourceReader.cs
- DataSource.cs
- X509Certificate2Collection.cs
- WizardStepBase.cs
- SqlDataSourceQueryConverter.cs
- BatchServiceHost.cs
- WizardPanel.cs
- DataSourceUtil.cs
- SignatureDescription.cs
- RenderingEventArgs.cs
- CollectionView.cs
- WindowsAltTab.cs
- WSFederationHttpBindingElement.cs
- FileRecordSequence.cs
- ReachSerializer.cs
- Command.cs
- AffineTransform3D.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- XmlSchemaDatatype.cs
- XmlSchemaIdentityConstraint.cs
- CharacterHit.cs
- BehaviorService.cs
- SqlRecordBuffer.cs
- SoapAttributeOverrides.cs
- FileDataSource.cs
- FontDriver.cs
- XmlReflectionMember.cs