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
- XmlSchemaGroup.cs
- RenderingBiasValidation.cs
- UniqueCodeIdentifierScope.cs
- Scheduling.cs
- StringUtil.cs
- _ListenerResponseStream.cs
- PrincipalPermission.cs
- DataControlField.cs
- AttributeAction.cs
- ResXBuildProvider.cs
- StoryFragments.cs
- HttpException.cs
- MembershipSection.cs
- ToolZone.cs
- Helper.cs
- CopyNodeSetAction.cs
- Helpers.cs
- DataGridViewCellConverter.cs
- StorageModelBuildProvider.cs
- NetworkAddressChange.cs
- BufferBuilder.cs
- ThumbButtonInfo.cs
- CustomCategoryAttribute.cs
- ControlFilterExpression.cs
- BamlStream.cs
- SettingsAttributes.cs
- ControlBindingsCollection.cs
- ToolStripManager.cs
- ErrorItem.cs
- CodeDomConfigurationHandler.cs
- DataGridColumnDropSeparator.cs
- ConfigXmlCDataSection.cs
- PassportIdentity.cs
- Symbol.cs
- regiisutil.cs
- DurationConverter.cs
- ValidatedControlConverter.cs
- ApplicationServiceHelper.cs
- TextParagraphView.cs
- FileIOPermission.cs
- WinInetCache.cs
- TextElementEditingBehaviorAttribute.cs
- FileSystemEventArgs.cs
- SecurityProtocolCorrelationState.cs
- ParserOptions.cs
- RectAnimationBase.cs
- SymbolDocumentGenerator.cs
- MessagePartProtectionMode.cs
- SqlReferenceCollection.cs
- RegisteredDisposeScript.cs
- ThreadExceptionEvent.cs
- XmlQualifiedName.cs
- SplineQuaternionKeyFrame.cs
- WebPartCatalogAddVerb.cs
- DataConnectionHelper.cs
- ProcessThreadCollection.cs
- RankException.cs
- ComponentResourceManager.cs
- WebBrowserEvent.cs
- ListBoxItemWrapperAutomationPeer.cs
- Binding.cs
- WebPartEditorCancelVerb.cs
- StandardToolWindows.cs
- PerformanceCounter.cs
- FillErrorEventArgs.cs
- PassportAuthentication.cs
- BypassElement.cs
- SurrogateEncoder.cs
- DefaultShape.cs
- ExpandCollapseProviderWrapper.cs
- SaveFileDialog.cs
- ProtocolsConfiguration.cs
- ListControl.cs
- StringUtil.cs
- TreeNodeStyleCollection.cs
- _AutoWebProxyScriptHelper.cs
- InputReport.cs
- XsltInput.cs
- InProcStateClientManager.cs
- SeparatorAutomationPeer.cs
- SqlFlattener.cs
- ObjectItemCachedAssemblyLoader.cs
- SiteMapNode.cs
- BufferedGraphicsManager.cs
- HtmlTitle.cs
- OrderedEnumerableRowCollection.cs
- FilterEventArgs.cs
- HtmlTextArea.cs
- ListViewGroupConverter.cs
- WebPartCancelEventArgs.cs
- LabelTarget.cs
- ApplicationContext.cs
- PartialArray.cs
- RegistrationServices.cs
- Propagator.ExtentPlaceholderCreator.cs
- ExceptionAggregator.cs
- TraceHandlerErrorFormatter.cs
- HttpValueCollection.cs
- CodeNamespaceImportCollection.cs
- ResourceCategoryAttribute.cs