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
- TextMetrics.cs
- StringPropertyBuilder.cs
- XPathDocumentBuilder.cs
- PropertyStore.cs
- SystemIPGlobalStatistics.cs
- EventlogProvider.cs
- PermissionToken.cs
- SplitContainerDesigner.cs
- ProjectionRewriter.cs
- Encoding.cs
- ContentType.cs
- DataRow.cs
- OleDbException.cs
- SQLDecimal.cs
- SafePEFileHandle.cs
- ToolStripAdornerWindowService.cs
- AnimationClockResource.cs
- ToolStripPanelRenderEventArgs.cs
- CodeExpressionCollection.cs
- DataSourceCache.cs
- BufferedReadStream.cs
- MD5Cng.cs
- ConfigXmlText.cs
- NonceCache.cs
- TextEncodedRawTextWriter.cs
- ListViewGroupConverter.cs
- ClientSettingsSection.cs
- Parallel.cs
- TabItemAutomationPeer.cs
- EndpointDiscoveryMetadataCD1.cs
- EntitySqlQueryCacheKey.cs
- wgx_exports.cs
- ScrollBarAutomationPeer.cs
- DecoderFallbackWithFailureFlag.cs
- ZoneIdentityPermission.cs
- ButtonBaseAutomationPeer.cs
- DataGridViewColumnCollection.cs
- StructuredTypeEmitter.cs
- PathFigureCollectionConverter.cs
- XamlTreeBuilder.cs
- StatusBar.cs
- OptimizedTemplateContentHelper.cs
- AssociationEndMember.cs
- ExpressionPrefixAttribute.cs
- ResourceExpression.cs
- Rect.cs
- ParsedAttributeCollection.cs
- userdatakeys.cs
- UncommonField.cs
- DataGridViewRowConverter.cs
- XmlImplementation.cs
- OutputCacheModule.cs
- RootBrowserWindowAutomationPeer.cs
- ExtendedPropertiesHandler.cs
- String.cs
- MLangCodePageEncoding.cs
- PolyBezierSegment.cs
- EntityDataSourceDataSelection.cs
- MatchingStyle.cs
- GacUtil.cs
- ModelItem.cs
- AttributeQuery.cs
- WebBrowserNavigatingEventHandler.cs
- SignerInfo.cs
- RuntimeHandles.cs
- cookiecontainer.cs
- SinglePageViewer.cs
- FieldBuilder.cs
- ValidationErrorEventArgs.cs
- TraceContext.cs
- SerializerProvider.cs
- HttpListenerRequest.cs
- MouseWheelEventArgs.cs
- CounterSetInstanceCounterDataSet.cs
- ZipIOCentralDirectoryFileHeader.cs
- StrokeCollectionConverter.cs
- AppDomainFactory.cs
- VisualTreeUtils.cs
- CompositeControl.cs
- PropertyInformation.cs
- XmlAnyElementAttributes.cs
- PageThemeParser.cs
- PropertyMappingExceptionEventArgs.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- TextElementEnumerator.cs
- UniqueIdentifierService.cs
- XmlDocumentFragment.cs
- RelationshipEndCollection.cs
- CommandTreeTypeHelper.cs
- Debug.cs
- SecurityIdentifierElementCollection.cs
- ManagementObjectSearcher.cs
- SystemIPInterfaceStatistics.cs
- validation.cs
- Misc.cs
- EntityTypeEmitter.cs
- ListViewTableCell.cs
- SecurityKeyEntropyMode.cs
- WindowsAltTab.cs
- TextServicesManager.cs