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
- WebPartConnectionsConfigureVerb.cs
- CodePageUtils.cs
- TimeSpanValidator.cs
- VectorAnimationBase.cs
- TerminateWorkflow.cs
- WindowsFormsHelpers.cs
- safemediahandle.cs
- PersonalizationDictionary.cs
- xsdvalidator.cs
- CheckoutException.cs
- PathData.cs
- MdiWindowListItemConverter.cs
- TagPrefixInfo.cs
- ParserHooks.cs
- ValueProviderWrapper.cs
- Int64.cs
- CancelEventArgs.cs
- LayoutExceptionEventArgs.cs
- X509ScopedServiceCertificateElementCollection.cs
- HashStream.cs
- StateMachineAction.cs
- RegexFCD.cs
- ObfuscateAssemblyAttribute.cs
- PinnedBufferMemoryStream.cs
- ClientTargetCollection.cs
- CompiledQueryCacheKey.cs
- TableLayoutPanelCellPosition.cs
- DynamicValueConverter.cs
- ResourceReader.cs
- KeyManager.cs
- UrlMappingsSection.cs
- StorageFunctionMapping.cs
- SplineKeyFrames.cs
- HtmlInputReset.cs
- SchemaSetCompiler.cs
- SafeNativeMethods.cs
- TPLETWProvider.cs
- WebBaseEventKeyComparer.cs
- ReservationNotFoundException.cs
- CaseInsensitiveComparer.cs
- Simplifier.cs
- SQLDateTime.cs
- ContentValidator.cs
- RowUpdatedEventArgs.cs
- NetworkAddressChange.cs
- LongPath.cs
- SafeRegistryHandle.cs
- SerializationIncompleteException.cs
- ContentElement.cs
- PageBuildProvider.cs
- Overlapped.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- CorrelationRequestContext.cs
- Cursor.cs
- RegionData.cs
- httpapplicationstate.cs
- DataBinding.cs
- RegisteredScript.cs
- Script.cs
- AssemblySettingAttributes.cs
- Int16KeyFrameCollection.cs
- HtmlInputText.cs
- ReadOnlyCollection.cs
- PropertyGeneratedEventArgs.cs
- Operand.cs
- Label.cs
- WsdlWriter.cs
- TextHintingModeValidation.cs
- IdentityReference.cs
- PrtCap_Public.cs
- ListItemCollection.cs
- ManagementDateTime.cs
- ScriptingProfileServiceSection.cs
- SettingsAttributeDictionary.cs
- ManagementOptions.cs
- OciHandle.cs
- XmlQueryContext.cs
- XmlTypeMapping.cs
- CommentEmitter.cs
- PingOptions.cs
- WorkflowDesignerColors.cs
- ConfigurationSettings.cs
- FixedSOMContainer.cs
- ColumnResult.cs
- Scene3D.cs
- ScrollBar.cs
- MappingModelBuildProvider.cs
- DatatypeImplementation.cs
- Trace.cs
- ToolboxDataAttribute.cs
- ContravarianceAdapter.cs
- FormsIdentity.cs
- Image.cs
- SqlLiftIndependentRowExpressions.cs
- ReaderWriterLock.cs
- ModelFunctionTypeElement.cs
- EmptyStringExpandableObjectConverter.cs
- WorkflowServiceHost.cs
- ComponentCollection.cs
- WebPartZone.cs