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
- MetadataCache.cs
- BindingSource.cs
- ReachSerializerAsync.cs
- BaseValidator.cs
- WindowsComboBox.cs
- NamedObject.cs
- ReferencedType.cs
- SafeNativeMemoryHandle.cs
- SafeEventLogReadHandle.cs
- DataObjectPastingEventArgs.cs
- HandoffBehavior.cs
- CodeNamespace.cs
- HostingEnvironmentException.cs
- WSUtilitySpecificationVersion.cs
- SiteMapNodeItemEventArgs.cs
- PassportAuthenticationEventArgs.cs
- FileEnumerator.cs
- Stack.cs
- XPathMessageFilterElementCollection.cs
- OleDbException.cs
- CodeCommentStatementCollection.cs
- Base64Encoding.cs
- ReferencedType.cs
- PropertyChangedEventArgs.cs
- FrameworkContextData.cs
- ToolBarDesigner.cs
- PageParser.cs
- TranslateTransform.cs
- SqlParameter.cs
- ViewManager.cs
- SystemIPGlobalStatistics.cs
- DrawingContextWalker.cs
- DataListComponentEditor.cs
- ReaderWriterLock.cs
- UTF8Encoding.cs
- SelectionItemPattern.cs
- LinqDataSourceView.cs
- ErrorFormatterPage.cs
- assertwrapper.cs
- MSAAEventDispatcher.cs
- LinkClickEvent.cs
- XmlDataImplementation.cs
- CacheChildrenQuery.cs
- SchemaObjectWriter.cs
- ConfigXmlAttribute.cs
- PostBackOptions.cs
- MetadataCache.cs
- DoubleConverter.cs
- QilLiteral.cs
- PrtTicket_Base.cs
- GridSplitterAutomationPeer.cs
- MouseEventArgs.cs
- StringArrayConverter.cs
- UserControlCodeDomTreeGenerator.cs
- ApplicationId.cs
- SqlCachedBuffer.cs
- PointLightBase.cs
- PropertyTabChangedEvent.cs
- StringBuilder.cs
- FSWPathEditor.cs
- StandardOleMarshalObject.cs
- XmlDomTextWriter.cs
- RuntimeConfigLKG.cs
- XmlConvert.cs
- TextRangeEditLists.cs
- PathSegment.cs
- FormParameter.cs
- DefaultTraceListener.cs
- OleDbStruct.cs
- DoubleCollectionValueSerializer.cs
- FileDialogCustomPlacesCollection.cs
- LogReserveAndAppendState.cs
- SchemaSetCompiler.cs
- DbXmlEnabledProviderManifest.cs
- ComponentSerializationService.cs
- Win32SafeHandles.cs
- WebControlAdapter.cs
- CodeTypeDelegate.cs
- VideoDrawing.cs
- TranslateTransform3D.cs
- InplaceBitmapMetadataWriter.cs
- DataListItem.cs
- CodeGeneratorOptions.cs
- PropertyDescriptorCollection.cs
- Soap11ServerProtocol.cs
- Action.cs
- DataGridCaption.cs
- SizeLimitedCache.cs
- DataServiceRequestOfT.cs
- ArcSegment.cs
- BaseCodeDomTreeGenerator.cs
- ExceptionRoutedEventArgs.cs
- DefaultConfirmation.cs
- ObjectPersistData.cs
- Compilation.cs
- TraceFilter.cs
- NoneExcludedImageIndexConverter.cs
- Misc.cs
- FileSecurity.cs
- Enum.cs