Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Input / Stylus / StylusCollection.cs / 1 / 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
- CompiledELinqQueryState.cs
- InteropDesigner.xaml.cs
- NullableDoubleSumAggregationOperator.cs
- Operator.cs
- TableCell.cs
- WinEventHandler.cs
- EntityReference.cs
- FunctionMappingTranslator.cs
- remotingproxy.cs
- KnownTypesHelper.cs
- SiteMapNodeCollection.cs
- PeerContact.cs
- ObjectListDataBindEventArgs.cs
- LayoutTableCell.cs
- SafeFileMapViewHandle.cs
- ReturnType.cs
- LinqDataSourceContextEventArgs.cs
- SubMenuStyle.cs
- CombinedGeometry.cs
- LogicalMethodInfo.cs
- UnaryNode.cs
- ISFTagAndGuidCache.cs
- Fonts.cs
- UnsafeNativeMethods.cs
- OleDragDropHandler.cs
- _BufferOffsetSize.cs
- GrowingArray.cs
- ColumnResult.cs
- IPHostEntry.cs
- TableCellAutomationPeer.cs
- RuntimeHandles.cs
- RSAOAEPKeyExchangeFormatter.cs
- CodeConditionStatement.cs
- CultureInfoConverter.cs
- RichTextBox.cs
- BindingsCollection.cs
- GlyphShapingProperties.cs
- ServiceInfoCollection.cs
- NamedObject.cs
- LockingPersistenceProvider.cs
- PeerInvitationResponse.cs
- EntityCommandDefinition.cs
- FileIOPermission.cs
- RegistrySecurity.cs
- ResourceDefaultValueAttribute.cs
- DataGridPageChangedEventArgs.cs
- SortKey.cs
- DispatcherHooks.cs
- DashStyle.cs
- AuthenticationModuleElementCollection.cs
- PropertyGridView.cs
- IdentityReference.cs
- ButtonBase.cs
- dsa.cs
- EventMemberCodeDomSerializer.cs
- TemplateLookupAction.cs
- IImplicitResourceProvider.cs
- ListSortDescription.cs
- KeyValuePairs.cs
- DataControlCommands.cs
- DesignerCalendarAdapter.cs
- HandleCollector.cs
- SettingsPropertyWrongTypeException.cs
- SoapFault.cs
- TypeSystemHelpers.cs
- ManagedWndProcTracker.cs
- SecurityDocument.cs
- SqlDataSourceCommandEventArgs.cs
- SelectionPattern.cs
- xsdvalidator.cs
- EncodingStreamWrapper.cs
- TableCell.cs
- SecurityContext.cs
- DockingAttribute.cs
- Vector3DAnimationUsingKeyFrames.cs
- NamespaceInfo.cs
- ZipPackagePart.cs
- TileBrush.cs
- DebuggerAttributes.cs
- DbConnectionPoolGroup.cs
- DataBindingCollectionConverter.cs
- FrameworkElementAutomationPeer.cs
- Filter.cs
- DemultiplexingClientMessageFormatter.cs
- CookieParameter.cs
- CqlLexerHelpers.cs
- TrimSurroundingWhitespaceAttribute.cs
- DisplayInformation.cs
- DirectoryInfo.cs
- DelegateInArgument.cs
- NullRuntimeConfig.cs
- BooleanConverter.cs
- Util.cs
- NotifyIcon.cs
- KnownBoxes.cs
- AdornerDecorator.cs
- HtmlHistory.cs
- linebase.cs
- WindowsIPAddress.cs
- PersonalizableAttribute.cs