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
- JpegBitmapDecoder.cs
- ToolStripRenderer.cs
- DesignerVerb.cs
- GroupPartitionExpr.cs
- IssuanceLicense.cs
- TextElementEditingBehaviorAttribute.cs
- _NtlmClient.cs
- DaylightTime.cs
- __Error.cs
- UnmanagedBitmapWrapper.cs
- InvalidDocumentContentsException.cs
- ZipIORawDataFileBlock.cs
- WindowsFont.cs
- MsmqIntegrationProcessProtocolHandler.cs
- DurableErrorHandler.cs
- SignatureHelper.cs
- SiteMapDataSourceView.cs
- Label.cs
- GuidConverter.cs
- CatalogPartChrome.cs
- MappingSource.cs
- QilLoop.cs
- WebPartConnectionsDisconnectVerb.cs
- WindowsIPAddress.cs
- CatalogZoneBase.cs
- QilIterator.cs
- HtmlInputRadioButton.cs
- CompensationExtension.cs
- ProfilePropertySettingsCollection.cs
- IpcManager.cs
- XmlNotation.cs
- SafeTimerHandle.cs
- ScriptBehaviorDescriptor.cs
- DataGridRelationshipRow.cs
- GlobalProxySelection.cs
- HandleRef.cs
- VariableQuery.cs
- TargetControlTypeAttribute.cs
- Trustee.cs
- IDQuery.cs
- IconBitmapDecoder.cs
- DrawingServices.cs
- EventHandlerList.cs
- IPEndPointCollection.cs
- ModuleConfigurationInfo.cs
- StrokeRenderer.cs
- FormViewRow.cs
- KeyTimeConverter.cs
- ImageKeyConverter.cs
- DataGridColumnHeaderCollection.cs
- SqlDataSourceCache.cs
- AuthenticationModulesSection.cs
- InputScopeManager.cs
- XmlSchemaGroupRef.cs
- InvalidWMPVersionException.cs
- MultiTrigger.cs
- DataGridTablesFactory.cs
- WebServiceParameterData.cs
- PackUriHelper.cs
- AttributeAction.cs
- BindingBase.cs
- DbParameterCollectionHelper.cs
- DesignBinding.cs
- SiteMapNodeItemEventArgs.cs
- DocumentAutomationPeer.cs
- References.cs
- ThreadSafeList.cs
- BindingExpressionUncommonField.cs
- NameSpaceEvent.cs
- GeometryConverter.cs
- Debug.cs
- Win32KeyboardDevice.cs
- TypeRestriction.cs
- RangeValueProviderWrapper.cs
- RowTypePropertyElement.cs
- XmlAttributeCache.cs
- ColorConvertedBitmap.cs
- Assembly.cs
- LineBreakRecord.cs
- Padding.cs
- DefaultSerializationProviderAttribute.cs
- KeyConverter.cs
- FlowDocumentPage.cs
- sqlser.cs
- LicenseProviderAttribute.cs
- __ConsoleStream.cs
- WinFormsSpinner.cs
- EditorOptionAttribute.cs
- ImageInfo.cs
- GroupedContextMenuStrip.cs
- printdlgexmarshaler.cs
- ConfigXmlWhitespace.cs
- TemplateField.cs
- CultureTableRecord.cs
- PropertyMappingExceptionEventArgs.cs
- NotFiniteNumberException.cs
- TraceContextRecord.cs
- Button.cs
- EditorResources.cs
- QuadTree.cs