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
- HostedTransportConfigurationBase.cs
- GlyphTypeface.cs
- RootBrowserWindowAutomationPeer.cs
- SiteOfOriginContainer.cs
- OleCmdHelper.cs
- EnumType.cs
- BrowserCapabilitiesCodeGenerator.cs
- PkcsMisc.cs
- HttpRequestTraceRecord.cs
- HGlobalSafeHandle.cs
- HtmlInputText.cs
- LookupBindingPropertiesAttribute.cs
- SourceFileInfo.cs
- QueryRewriter.cs
- ToolStripItemImageRenderEventArgs.cs
- TransactionBridge.cs
- CryptoApi.cs
- OutputCacheSettingsSection.cs
- RoleGroupCollection.cs
- OperatingSystem.cs
- WebPartEditVerb.cs
- PreservationFileReader.cs
- ComponentEditorPage.cs
- ComponentCache.cs
- Walker.cs
- WebPartMenuStyle.cs
- EntityTypeEmitter.cs
- GenericWebPart.cs
- ActivityFunc.cs
- InvokeProviderWrapper.cs
- SchemaTableColumn.cs
- XamlFilter.cs
- XmlSchemaGroupRef.cs
- ReaderOutput.cs
- PTProvider.cs
- RelatedPropertyManager.cs
- CompilationRelaxations.cs
- CharConverter.cs
- PasswordBoxAutomationPeer.cs
- DomainUpDown.cs
- HierarchicalDataSourceDesigner.cs
- WebPartTracker.cs
- WebZone.cs
- SqlCacheDependencyDatabaseCollection.cs
- XslAstAnalyzer.cs
- CommunicationException.cs
- DbQueryCommandTree.cs
- TypeUtils.cs
- DiscoveryDocumentLinksPattern.cs
- EventProvider.cs
- ShaderRenderModeValidation.cs
- DesignObjectWrapper.cs
- StrokeNodeEnumerator.cs
- ScriptMethodAttribute.cs
- ProtocolsSection.cs
- ControlBuilderAttribute.cs
- SharedStatics.cs
- LinqDataSourceInsertEventArgs.cs
- SatelliteContractVersionAttribute.cs
- DocumentSequence.cs
- SkewTransform.cs
- UserControl.cs
- NamespaceInfo.cs
- ITextView.cs
- contentDescriptor.cs
- EmptyStringExpandableObjectConverter.cs
- TypeToStringValueConverter.cs
- SafeBitVector32.cs
- DbConnectionPoolGroupProviderInfo.cs
- TextRangeEditLists.cs
- MetadataWorkspace.cs
- Vector3DIndependentAnimationStorage.cs
- ValueUnavailableException.cs
- GeneralTransform3DGroup.cs
- VisualStyleTypesAndProperties.cs
- OdbcConnectionHandle.cs
- CodeIndexerExpression.cs
- PaperSize.cs
- HwndAppCommandInputProvider.cs
- LoadRetryConstantStrategy.cs
- GridViewDesigner.cs
- CommandEventArgs.cs
- RequiredFieldValidator.cs
- GraphicsPath.cs
- ServicePointManagerElement.cs
- WebControlAdapter.cs
- RowToParametersTransformer.cs
- TimeoutValidationAttribute.cs
- DataGridViewButtonCell.cs
- GridItemProviderWrapper.cs
- CroppedBitmap.cs
- ActivityTrace.cs
- Group.cs
- PkcsMisc.cs
- Int16Storage.cs
- XPathNodePointer.cs
- CloseSequence.cs
- StylusEditingBehavior.cs
- GenericsInstances.cs
- SiteMapNodeItem.cs