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
- SqlTransaction.cs
- ContextBase.cs
- SocketElement.cs
- NonDualMessageSecurityOverHttp.cs
- SpnegoTokenProvider.cs
- SapiInterop.cs
- EmptyStringExpandableObjectConverter.cs
- BrowserTree.cs
- BinaryReader.cs
- SQLMoneyStorage.cs
- RepeaterItem.cs
- TimelineCollection.cs
- XmlNodeComparer.cs
- SwitchLevelAttribute.cs
- ObjectTag.cs
- ILGenerator.cs
- RadioButtonAutomationPeer.cs
- TableRow.cs
- CollectionChangeEventArgs.cs
- Transform3DGroup.cs
- DesignTimeSiteMapProvider.cs
- XmlTypeMapping.cs
- XmlSchemaSimpleType.cs
- DateTimeUtil.cs
- RandomNumberGenerator.cs
- HttpCookie.cs
- RotateTransform3D.cs
- Bidi.cs
- ExternalFile.cs
- TextEffect.cs
- TreeView.cs
- MenuAdapter.cs
- TogglePatternIdentifiers.cs
- QueueProcessor.cs
- ObjectList.cs
- AuthorizationRuleCollection.cs
- StorageInfo.cs
- HintTextMaxWidthConverter.cs
- HttpProfileGroupBase.cs
- ExceptionRoutedEventArgs.cs
- RegexRunnerFactory.cs
- ReadOnlyCollectionBase.cs
- VsPropertyGrid.cs
- TreeNodeBinding.cs
- WSMessageEncoding.cs
- DrawListViewColumnHeaderEventArgs.cs
- Properties.cs
- PropagatorResult.cs
- OdbcException.cs
- CheckStoreFileValidityRequest.cs
- CompositeDataBoundControl.cs
- CheckBox.cs
- Base64Stream.cs
- DrawingAttributeSerializer.cs
- XmlSchemas.cs
- SubclassTypeValidator.cs
- BadImageFormatException.cs
- QilIterator.cs
- ControlIdConverter.cs
- dbenumerator.cs
- AuthenticationModuleElementCollection.cs
- SqlVisitor.cs
- DecoderReplacementFallback.cs
- FragmentQuery.cs
- SqlStatistics.cs
- BoundField.cs
- ParentControlDesigner.cs
- FormClosedEvent.cs
- ListControlDesigner.cs
- EventProxy.cs
- DetailsViewRow.cs
- HtmlToClrEventProxy.cs
- XmlSortKey.cs
- CannotUnloadAppDomainException.cs
- _TransmitFileOverlappedAsyncResult.cs
- TlsnegoTokenProvider.cs
- CompositeFontFamily.cs
- ResourceSet.cs
- PatternMatcher.cs
- Funcletizer.cs
- SafeTokenHandle.cs
- StreamGeometry.cs
- EventHandlersStore.cs
- StyleTypedPropertyAttribute.cs
- ErrorHandler.cs
- DataGridTable.cs
- BrowserTree.cs
- WebPartChrome.cs
- GlyphElement.cs
- Literal.cs
- RulePatternOps.cs
- Timer.cs
- SymbolTable.cs
- WorkflowQueueInfo.cs
- CompensatableSequenceActivity.cs
- RemoteWebConfigurationHostServer.cs
- ProcessHostConfigUtils.cs
- HitTestParameters3D.cs
- _RequestCacheProtocol.cs
- WpfKnownType.cs