Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- contentDescriptor.cs
- ScriptingWebServicesSectionGroup.cs
- RijndaelManagedTransform.cs
- OleDbStruct.cs
- CalloutQueueItem.cs
- XmlValueConverter.cs
- CustomValidator.cs
- TableCellsCollectionEditor.cs
- PointIndependentAnimationStorage.cs
- InputReferenceExpression.cs
- EndOfStreamException.cs
- IPipelineRuntime.cs
- AuthenticateEventArgs.cs
- DecimalConverter.cs
- NotifyCollectionChangedEventArgs.cs
- Mappings.cs
- ErrorProvider.cs
- AndCondition.cs
- IsolatedStorage.cs
- MouseWheelEventArgs.cs
- InertiaRotationBehavior.cs
- XmlSiteMapProvider.cs
- XNameConverter.cs
- ExponentialEase.cs
- MediaScriptCommandRoutedEventArgs.cs
- SchemaTypeEmitter.cs
- DecoderReplacementFallback.cs
- RSAPKCS1SignatureFormatter.cs
- cryptoapiTransform.cs
- FrameworkContentElement.cs
- MobileControlBuilder.cs
- MetadataUtil.cs
- WebReferencesBuildProvider.cs
- ADMembershipUser.cs
- util.cs
- StubHelpers.cs
- SolidColorBrush.cs
- PersonalizationProvider.cs
- XamlInt32CollectionSerializer.cs
- SafeBitVector32.cs
- CardSpaceSelector.cs
- Matrix3D.cs
- TextServicesManager.cs
- LocatorPart.cs
- XmlSchemaInferenceException.cs
- ImageMapEventArgs.cs
- Size.cs
- TaskCanceledException.cs
- odbcmetadatafactory.cs
- XPathMultyIterator.cs
- TypeSystem.cs
- Int64.cs
- _ListenerAsyncResult.cs
- PageBreakRecord.cs
- XmlStreamStore.cs
- ModelVisual3D.cs
- TraceUtility.cs
- SQLDateTime.cs
- AnalyzedTree.cs
- ISessionStateStore.cs
- IDataContractSurrogate.cs
- CompilerResults.cs
- SHA512Managed.cs
- ContentElement.cs
- DataRelationPropertyDescriptor.cs
- CookieParameter.cs
- JavascriptCallbackBehaviorAttribute.cs
- RadioButton.cs
- TableLayout.cs
- ConfigXmlComment.cs
- DynamicDataManager.cs
- HttpModuleAction.cs
- RewritingPass.cs
- CompositeDesignerAccessibleObject.cs
- CodeLabeledStatement.cs
- EntityKey.cs
- CursorInteropHelper.cs
- CollaborationHelperFunctions.cs
- Asn1IntegerConverter.cs
- newinstructionaction.cs
- EventLogPermission.cs
- CodeAttributeDeclaration.cs
- BufferAllocator.cs
- ACE.cs
- BridgeDataReader.cs
- RegistryKey.cs
- CacheHelper.cs
- WindowsIdentity.cs
- BuildProviderCollection.cs
- FrugalMap.cs
- WebServiceParameterData.cs
- ThreadPool.cs
- NativeWrapper.cs
- FieldBuilder.cs
- TemplateDefinition.cs
- GridView.cs
- CompiledELinqQueryState.cs
- AsmxEndpointPickerExtension.cs
- ContextDataSource.cs
- ListViewInsertedEventArgs.cs