Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Input / Stylus / StylusButtonCollection.cs / 1 / StylusButtonCollection.cs
//// Copyright (C) Microsoft Corporation. All rights reserved. // using System; using System.Windows; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Windows.Media; using MS.Utility; using MS.Internal; 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 StylusButtonCollection : ReadOnlyCollection{ ///////////////////////////////////////////////////////////////////// internal StylusButtonCollection(StylusButton[] buttons) : base(new List (buttons)) { } /// /// Returns the first StylusButton in the collection with a Guid property /// that matches the specified guid. Returns null if no matching StylusButton is found /// /// guid public StylusButton GetStylusButtonByGuid(Guid guid) { for (int x = 0; x < this.Count; x++) { if (this[x].Guid == guid) { return this[x]; } } return null; } } } // 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
- StrongNameSignatureInformation.cs
- PropertyRef.cs
- DiscoveryReference.cs
- QueryAsyncResult.cs
- RunClient.cs
- ToolStripTemplateNode.cs
- StandardToolWindows.cs
- SafeLibraryHandle.cs
- PassportAuthentication.cs
- BoolExpressionVisitors.cs
- Int32Rect.cs
- SafeNativeMethods.cs
- Privilege.cs
- ItemsControlAutomationPeer.cs
- RightNameExpirationInfoPair.cs
- XmlObjectSerializer.cs
- WorkflowServiceOperationListItem.cs
- LineBreakRecord.cs
- selecteditemcollection.cs
- PrinterUnitConvert.cs
- SearchForVirtualItemEventArgs.cs
- SoapCommonClasses.cs
- LicenseManager.cs
- GridViewDeleteEventArgs.cs
- DataGridViewCellFormattingEventArgs.cs
- SqlClientFactory.cs
- WebServiceReceiveDesigner.cs
- ContextStaticAttribute.cs
- Stack.cs
- AppSecurityManager.cs
- parserscommon.cs
- TableLayoutCellPaintEventArgs.cs
- WmpBitmapDecoder.cs
- MarkupWriter.cs
- EdmScalarPropertyAttribute.cs
- ProfilePropertyMetadata.cs
- DataListItemEventArgs.cs
- PrtCap_Public_Simple.cs
- ZipIOLocalFileDataDescriptor.cs
- SetStateEventArgs.cs
- RoutedUICommand.cs
- DataGridItem.cs
- TextServicesManager.cs
- PopupEventArgs.cs
- InputBuffer.cs
- SchemaTypeEmitter.cs
- WebBaseEventKeyComparer.cs
- PartialCachingAttribute.cs
- ResXBuildProvider.cs
- ItemCheckEvent.cs
- GeometryModel3D.cs
- XmlReaderSettings.cs
- ClassImporter.cs
- ReferenceSchema.cs
- ImageDrawing.cs
- PrefixQName.cs
- ArraySortHelper.cs
- TimeoutConverter.cs
- CngKeyCreationParameters.cs
- filewebrequest.cs
- EastAsianLunisolarCalendar.cs
- RequestCache.cs
- WebPartAuthorizationEventArgs.cs
- VectorAnimationBase.cs
- Table.cs
- NullReferenceException.cs
- NullableDoubleAverageAggregationOperator.cs
- ToolStripItemRenderEventArgs.cs
- AccessText.cs
- SequenceQuery.cs
- TextElementEnumerator.cs
- FieldNameLookup.cs
- WebCategoryAttribute.cs
- EventItfInfo.cs
- NavigationCommands.cs
- HttpApplication.cs
- ReservationCollection.cs
- HostingEnvironmentException.cs
- RemotingAttributes.cs
- MenuItemAutomationPeer.cs
- Solver.cs
- StructuralComparisons.cs
- CommandValueSerializer.cs
- Size.cs
- WindowsClaimSet.cs
- ControlIdConverter.cs
- DbConnectionHelper.cs
- EntityWrapperFactory.cs
- XmlSortKey.cs
- CompareInfo.cs
- SoapObjectWriter.cs
- Rect3D.cs
- templategroup.cs
- SrgsToken.cs
- MultiPageTextView.cs
- RootBrowserWindowAutomationPeer.cs
- ObjectDataSourceFilteringEventArgs.cs
- RowToFieldTransformer.cs
- ByteRangeDownloader.cs
- AggregateNode.cs