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
- TableCellAutomationPeer.cs
- FontFamily.cs
- VerticalAlignConverter.cs
- ParameterRetriever.cs
- ProcessModelSection.cs
- DesignerHelpers.cs
- PlaceHolder.cs
- FastPropertyAccessor.cs
- SelectionItemProviderWrapper.cs
- httpstaticobjectscollection.cs
- ApplicationServiceManager.cs
- ObjectListCommandCollection.cs
- BitmapCodecInfo.cs
- Cursors.cs
- ConfigurationManagerInternalFactory.cs
- RbTree.cs
- MetricEntry.cs
- WhitespaceReader.cs
- CryptoProvider.cs
- SspiHelper.cs
- ChannelManager.cs
- MachineKeyConverter.cs
- ListViewEditEventArgs.cs
- Deflater.cs
- DataPointer.cs
- BaseComponentEditor.cs
- GridViewSelectEventArgs.cs
- Policy.cs
- OracleInfoMessageEventArgs.cs
- QilXmlWriter.cs
- SvcFileManager.cs
- StringComparer.cs
- TrustLevel.cs
- WithStatement.cs
- SmtpReplyReader.cs
- ActivityExecutionFilter.cs
- _AutoWebProxyScriptHelper.cs
- WSMessageEncoding.cs
- TypePropertyEditor.cs
- IPAddressCollection.cs
- TableCell.cs
- Stacktrace.cs
- ExpressionEditor.cs
- ProcessHostServerConfig.cs
- indexingfiltermarshaler.cs
- SQLRoleProvider.cs
- OpenFileDialog.cs
- IgnoreFlushAndCloseStream.cs
- ObjectHandle.cs
- MessageBox.cs
- XmlRootAttribute.cs
- XmlSchemaAttributeGroup.cs
- ComboBoxAutomationPeer.cs
- SettingsProviderCollection.cs
- SchemaExporter.cs
- Collection.cs
- FormViewDeleteEventArgs.cs
- Converter.cs
- AssociatedControlConverter.cs
- DifferencingCollection.cs
- AttachedPropertyMethodSelector.cs
- MobileControlsSectionHandler.cs
- TaskHelper.cs
- CodeSubDirectoriesCollection.cs
- FlagsAttribute.cs
- OrderedDictionary.cs
- SymbolUsageManager.cs
- SafeProcessHandle.cs
- FilterQueryOptionExpression.cs
- Metafile.cs
- OutputCacheProfile.cs
- UserControl.cs
- StandardOleMarshalObject.cs
- WindowsToolbarAsMenu.cs
- CapabilitiesRule.cs
- DataExpression.cs
- ApplicationInfo.cs
- FontEditor.cs
- AutoGeneratedField.cs
- EntityModelBuildProvider.cs
- Win32.cs
- DataGridSortCommandEventArgs.cs
- ProfilePropertySettings.cs
- APCustomTypeDescriptor.cs
- _NegoState.cs
- TableCellCollection.cs
- MessageBodyMemberAttribute.cs
- InputProcessorProfiles.cs
- SafeNativeMethods.cs
- ActivityTypeResolver.xaml.cs
- ProbeMatches11.cs
- Triplet.cs
- OptionalMessageQuery.cs
- TextElementCollectionHelper.cs
- ConsumerConnectionPoint.cs
- ListViewInsertedEventArgs.cs
- LogStore.cs
- HwndSource.cs
- MultiTouchSystemGestureLogic.cs
- SystemSounds.cs