Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / WinForms / Managed / System / WinForms / SearchForVirtualItemEventArgs.cs / 1 / 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
- TracingConnection.cs
- ComUdtElement.cs
- QuerySafeNavigator.cs
- SoapEnumAttribute.cs
- MessageSecurityProtocol.cs
- ExcCanonicalXml.cs
- ConnectionPoint.cs
- SqlInfoMessageEvent.cs
- ImageAnimator.cs
- MemoryMappedViewAccessor.cs
- ColorIndependentAnimationStorage.cs
- SynchronizedDispatch.cs
- ObjectStorage.cs
- PinnedBufferMemoryStream.cs
- PluralizationService.cs
- HwndProxyElementProvider.cs
- PropertyChangeTracker.cs
- X509CertificateChain.cs
- DataRowIndexBuffer.cs
- SEHException.cs
- TextEncodedRawTextWriter.cs
- Pair.cs
- BuildProviderAppliesToAttribute.cs
- GridViewDeleteEventArgs.cs
- NumericUpDownAcceleration.cs
- InsufficientMemoryException.cs
- LineUtil.cs
- Variable.cs
- WindowsProgressbar.cs
- HandlerBase.cs
- CodeTypeConstructor.cs
- CodeIndexerExpression.cs
- HotSpotCollection.cs
- JsonEnumDataContract.cs
- FixedStringLookup.cs
- WinEventWrap.cs
- SetIterators.cs
- InfoCardBaseException.cs
- InternalConfigSettingsFactory.cs
- ConvertersCollection.cs
- MissingFieldException.cs
- CultureInfo.cs
- TableStyle.cs
- HttpModuleAction.cs
- SolidColorBrush.cs
- WebHeaderCollection.cs
- PolyQuadraticBezierSegment.cs
- DefinitionBase.cs
- HttpSocketManager.cs
- MouseButtonEventArgs.cs
- DynamicControl.cs
- XPathDocumentIterator.cs
- PermissionRequestEvidence.cs
- FSWPathEditor.cs
- FullTrustAssembly.cs
- FilteredAttributeCollection.cs
- OrderedEnumerableRowCollection.cs
- DetailsViewDeletedEventArgs.cs
- XmlSchemaInferenceException.cs
- DefaultAsyncDataDispatcher.cs
- Renderer.cs
- SortAction.cs
- RuleInfoComparer.cs
- XmlLanguageConverter.cs
- TypeContext.cs
- ReferenceEqualityComparer.cs
- MetadataItemEmitter.cs
- ResourcesBuildProvider.cs
- RequestCachePolicyConverter.cs
- InputEventArgs.cs
- EventBuilder.cs
- WebPartEventArgs.cs
- SkipStoryboardToFill.cs
- NativeMethods.cs
- RunWorkerCompletedEventArgs.cs
- SettingsSection.cs
- DBNull.cs
- ContentDisposition.cs
- AdCreatedEventArgs.cs
- _FtpControlStream.cs
- ResourceManager.cs
- ForeignKeyFactory.cs
- FrameworkContentElementAutomationPeer.cs
- JournalNavigationScope.cs
- GradientStop.cs
- DataGridViewColumnStateChangedEventArgs.cs
- SystemShuttingDownException.cs
- TextTreeUndoUnit.cs
- TypeBinaryExpression.cs
- FormsAuthenticationTicket.cs
- Rect.cs
- Rect.cs
- PersonalizablePropertyEntry.cs
- WeakReadOnlyCollection.cs
- LoadedEvent.cs
- PageContent.cs
- ContainsRowNumberChecker.cs
- ToolStripRenderer.cs
- ThreadAbortException.cs
- ProgressBar.cs