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
- DesignerVerbCollection.cs
- SQLBytesStorage.cs
- typedescriptorpermissionattribute.cs
- TripleDESCryptoServiceProvider.cs
- XmlWrappingReader.cs
- Int32Rect.cs
- _FixedSizeReader.cs
- Brush.cs
- WeakReferenceList.cs
- HttpCacheParams.cs
- NavigationHelper.cs
- Vars.cs
- BinaryWriter.cs
- ObjectCloneHelper.cs
- EdmFunctions.cs
- TableLayoutSettings.cs
- ImportContext.cs
- FileCodeGroup.cs
- EmptyTextWriter.cs
- SchemaObjectWriter.cs
- _NativeSSPI.cs
- ButtonBaseAdapter.cs
- XamlTemplateSerializer.cs
- Camera.cs
- XamlPoint3DCollectionSerializer.cs
- XamlFigureLengthSerializer.cs
- codemethodreferenceexpression.cs
- XmlIlGenerator.cs
- SerializationHelper.cs
- TextDecorationCollection.cs
- SafeThreadHandle.cs
- WebServiceEnumData.cs
- ProfilePropertyNameValidator.cs
- InputProcessorProfilesLoader.cs
- DesignerObjectListAdapter.cs
- SimpleWorkerRequest.cs
- TableLayoutPanelDesigner.cs
- KeyConverter.cs
- Size.cs
- MD5HashHelper.cs
- DocumentApplicationJournalEntry.cs
- Publisher.cs
- StorageInfo.cs
- PropertyGridView.cs
- BaseInfoTable.cs
- ConnectionsZone.cs
- FlowDocumentFormatter.cs
- CallContext.cs
- DependencyPropertyValueSerializer.cs
- GlyphCache.cs
- ProgressBar.cs
- BaseServiceProvider.cs
- WindowsFormsDesignerOptionService.cs
- DependencyObject.cs
- ExpressionEditorAttribute.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- GridViewDeleteEventArgs.cs
- ContextItem.cs
- StorageScalarPropertyMapping.cs
- mansign.cs
- FileRegion.cs
- OrderedParallelQuery.cs
- PointCollectionValueSerializer.cs
- FlowDocumentFormatter.cs
- RadioButton.cs
- RootBuilder.cs
- BuildManager.cs
- TextTreeText.cs
- HtmlDocument.cs
- CodeGroup.cs
- TrustManager.cs
- PathSegmentCollection.cs
- Win32SafeHandles.cs
- ToolZone.cs
- httpstaticobjectscollection.cs
- IndependentlyAnimatedPropertyMetadata.cs
- ImplicitInputBrush.cs
- LocatorPart.cs
- FtpCachePolicyElement.cs
- XmlSchemaDocumentation.cs
- GridViewColumn.cs
- ToolStripRendererSwitcher.cs
- XmlAtomicValue.cs
- AnnotationComponentManager.cs
- ClusterRegistryConfigurationProvider.cs
- TagMapCollection.cs
- XmlHelper.cs
- LineVisual.cs
- PtsHelper.cs
- X509WindowsSecurityToken.cs
- Semaphore.cs
- ReceiveActivity.cs
- ISAPIWorkerRequest.cs
- ComNativeDescriptor.cs
- SecurityIdentifierElementCollection.cs
- IndentedTextWriter.cs
- XMLDiffLoader.cs
- TextRangeAdaptor.cs
- OrderedDictionary.cs