Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / SearchForVirtualItemEventArgs.cs / 1305376 / SearchForVirtualItemEventArgs.cs
using System; using System.Drawing; namespace System.Windows.Forms { ///public class SearchForVirtualItemEventArgs : EventArgs { private bool isTextSearch; private bool isPrefixSearch; private bool includeSubItemsInSearch; private string text; private Point startingPoint; private SearchDirectionHint direction; private int startIndex; private int index = -1; /// public SearchForVirtualItemEventArgs(bool isTextSearch, bool isPrefixSearch, bool includeSubItemsInSearch, string text, Point startingPoint, SearchDirectionHint direction, int startIndex) { this.isTextSearch = isTextSearch; this.isPrefixSearch = isPrefixSearch; this.includeSubItemsInSearch = includeSubItemsInSearch; this.text = text; this.startingPoint = startingPoint; this.direction = direction; this.startIndex = startIndex; } /// public bool IsTextSearch { get { return isTextSearch; } } /// public bool IncludeSubItemsInSearch { get { return includeSubItemsInSearch; } } /// public int Index { get { return this.index; } set { this.index = value; } } /// public bool IsPrefixSearch { get { return isPrefixSearch; } } /// public string Text{ get { return text; } } /// public Point StartingPoint { get { return startingPoint; } } /// public SearchDirectionHint Direction { get { return direction; } } /// public int StartIndex { get { return startIndex; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Drawing; namespace System.Windows.Forms { /// public class SearchForVirtualItemEventArgs : EventArgs { private bool isTextSearch; private bool isPrefixSearch; private bool includeSubItemsInSearch; private string text; private Point startingPoint; private SearchDirectionHint direction; private int startIndex; private int index = -1; /// public SearchForVirtualItemEventArgs(bool isTextSearch, bool isPrefixSearch, bool includeSubItemsInSearch, string text, Point startingPoint, SearchDirectionHint direction, int startIndex) { this.isTextSearch = isTextSearch; this.isPrefixSearch = isPrefixSearch; this.includeSubItemsInSearch = includeSubItemsInSearch; this.text = text; this.startingPoint = startingPoint; this.direction = direction; this.startIndex = startIndex; } /// public bool IsTextSearch { get { return isTextSearch; } } /// public bool IncludeSubItemsInSearch { get { return includeSubItemsInSearch; } } /// public int Index { get { return this.index; } set { this.index = value; } } /// public bool IsPrefixSearch { get { return isPrefixSearch; } } /// public string Text{ get { return text; } } /// public Point StartingPoint { get { return startingPoint; } } /// public SearchDirectionHint Direction { get { return direction; } } /// public int StartIndex { get { return startIndex; } } } } // 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
- SessionPageStatePersister.cs
- RequestQueryParser.cs
- XsltArgumentList.cs
- DispatcherEventArgs.cs
- XmlDataLoader.cs
- IfAction.cs
- ByteAnimation.cs
- ObjectListItem.cs
- StorageRoot.cs
- DiscoveryVersion.cs
- PageContent.cs
- ChangePassword.cs
- DataGridViewRowHeaderCell.cs
- ComponentEvent.cs
- SqlProfileProvider.cs
- ConstraintStruct.cs
- ChoiceConverter.cs
- CollaborationHelperFunctions.cs
- SmiContextFactory.cs
- NetworkInterface.cs
- CodeSnippetTypeMember.cs
- VerificationException.cs
- ChangeProcessor.cs
- SecurityTokenAuthenticator.cs
- UdpSocketReceiveManager.cs
- ControlPropertyNameConverter.cs
- EntityClientCacheKey.cs
- PublishLicense.cs
- ProviderBase.cs
- TrackingCondition.cs
- XmlDocumentFieldSchema.cs
- StandardToolWindows.cs
- ByteStack.cs
- Pkcs9Attribute.cs
- MenuItemBinding.cs
- GroupDescription.cs
- OpCodes.cs
- ScrollBarRenderer.cs
- ViewPort3D.cs
- SystemIPAddressInformation.cs
- GenerateScriptTypeAttribute.cs
- XslVisitor.cs
- ServiceOperationParameter.cs
- TrackingMemoryStream.cs
- ProjectionPath.cs
- Documentation.cs
- ListViewTableRow.cs
- ActiveXHelper.cs
- DbLambda.cs
- TypeHelpers.cs
- ColumnResult.cs
- infer.cs
- ResizeGrip.cs
- DbParameterHelper.cs
- EdmComplexPropertyAttribute.cs
- DataGridViewColumnConverter.cs
- CodeCommentStatementCollection.cs
- XmlSchemaParticle.cs
- ManagementInstaller.cs
- MetadataSerializer.cs
- Module.cs
- LogManagementAsyncResult.cs
- PagedDataSource.cs
- ConnectionManagementSection.cs
- FileVersionInfo.cs
- ScalarType.cs
- ReaderWriterLockWrapper.cs
- AcceptorSessionSymmetricTransportSecurityProtocol.cs
- RoutedCommand.cs
- CommandDevice.cs
- MimeImporter.cs
- DataGridViewCellStateChangedEventArgs.cs
- ScrollChrome.cs
- ErrorFormatterPage.cs
- X509AsymmetricSecurityKey.cs
- SqlStatistics.cs
- CTreeGenerator.cs
- DetailsViewCommandEventArgs.cs
- ButtonRenderer.cs
- SQLByteStorage.cs
- DataGridViewTopRowAccessibleObject.cs
- DataTablePropertyDescriptor.cs
- ProgressChangedEventArgs.cs
- CharConverter.cs
- CompositeActivityTypeDescriptor.cs
- CompositeCollectionView.cs
- XmlSchemaIdentityConstraint.cs
- XmlTypeAttribute.cs
- StatusStrip.cs
- CaseCqlBlock.cs
- AsymmetricKeyExchangeDeformatter.cs
- TextServicesPropertyRanges.cs
- PersonalizationDictionary.cs
- XmlTextAttribute.cs
- XmlSchemaResource.cs
- objectresult_tresulttype.cs
- ResXBuildProvider.cs
- ProvidePropertyAttribute.cs
- AsyncWaitHandle.cs
- Properties.cs