Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Input / Stylus / StylusCollection.cs / 1305600 / StylusCollection.cs
//// Copyright (C) Microsoft Corporation. All rights reserved. // using System; using System.Windows; using System.Security; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Windows.Media; using SR=MS.Internal.PresentationCore.SR; using SRID=MS.Internal.PresentationCore.SRID; namespace System.Windows.Input { ///////////////////////////////////////////////////////////////////////// ////// Collection of the stylus devices that are available on the tablet. /// public class StylusDeviceCollection : ReadOnlyCollection{ ///////////////////////////////////////////////////////////////////// internal StylusDeviceCollection(StylusDevice[] styluses) : base(new List (styluses)) { } ///////////////////////////////////////////////////////////////////// /// /// Critical: calls SecurityCritical method stylusDevice.Dispose. /// [SecurityCritical] internal void Dispose() { foreach (StylusDevice stylusDevice in this.Items) { stylusDevice.Dispose(); } } ///////////////////////////////////////////////////////////////////// internal void AddStylusDevice(int index, StylusDevice stylusDevice) { base.Items.Insert(index, stylusDevice); // add it to our list. } } } // 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
- AccessDataSourceView.cs
- Odbc32.cs
- _HelperAsyncResults.cs
- PropertyGrid.cs
- ExtendLockAsyncResult.cs
- BehaviorEditorPart.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- DataStreams.cs
- ZipFileInfoCollection.cs
- FixedSOMPageElement.cs
- ComponentConverter.cs
- SpecularMaterial.cs
- OptimalTextSource.cs
- Int64Storage.cs
- BitmapEffectGroup.cs
- InstanceLockQueryResult.cs
- CurrencyManager.cs
- sqlpipe.cs
- PropertyEmitter.cs
- BackStopAuthenticationModule.cs
- SQLBytesStorage.cs
- PreDigestedSignedInfo.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- CompositeControl.cs
- XmlSchemaValidationException.cs
- Propagator.ExtentPlaceholderCreator.cs
- CommandHelper.cs
- XsltFunctions.cs
- RegistrySecurity.cs
- InputProcessorProfiles.cs
- Queue.cs
- PolicyValidationException.cs
- PagedDataSource.cs
- XmlSchemaDatatype.cs
- AuthenticationManager.cs
- DbDataAdapter.cs
- Helpers.cs
- LongSumAggregationOperator.cs
- XmlDataCollection.cs
- Throw.cs
- ExclusiveTcpListener.cs
- TextSelectionHelper.cs
- TargetConverter.cs
- TableRow.cs
- TextBoxLine.cs
- DataPager.cs
- ZipIOExtraFieldZip64Element.cs
- GridViewUpdateEventArgs.cs
- ExceptionHandlers.cs
- TextFormatterImp.cs
- PolicyManager.cs
- Vector.cs
- CodeDomConfigurationHandler.cs
- NegatedCellConstant.cs
- TemplateControlParser.cs
- FusionWrap.cs
- Transform.cs
- FrameworkElement.cs
- TagElement.cs
- HtmlFormParameterWriter.cs
- MenuItemStyle.cs
- StructuredProperty.cs
- EventWaitHandleSecurity.cs
- Page.cs
- InvalidTimeZoneException.cs
- SecurityResources.cs
- AutomationPatternInfo.cs
- TouchesOverProperty.cs
- TCPListener.cs
- CodeBinaryOperatorExpression.cs
- ClientScriptManager.cs
- ContentPosition.cs
- Int16AnimationUsingKeyFrames.cs
- DataGridParentRows.cs
- RowUpdatingEventArgs.cs
- ListDesigner.cs
- TableItemPattern.cs
- TypeReference.cs
- HttpCachePolicyWrapper.cs
- ErrorHandler.cs
- FacetDescriptionElement.cs
- WindowsClaimSet.cs
- Polygon.cs
- RestClientProxyHandler.cs
- PersistenceTypeAttribute.cs
- BitmapSourceSafeMILHandle.cs
- XmlText.cs
- WorkflowDefinitionContext.cs
- IRCollection.cs
- LineSegment.cs
- ListDictionary.cs
- DataGridState.cs
- TreeNodeBindingCollection.cs
- IFlowDocumentViewer.cs
- FindProgressChangedEventArgs.cs
- ServicePoint.cs
- PropertyTabChangedEvent.cs
- __Filters.cs
- DataTablePropertyDescriptor.cs
- GeometryModel3D.cs