Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DirectoryInfo.cs
- TrackingServices.cs
- ActivityCodeDomSerializationManager.cs
- MetadataAssemblyHelper.cs
- EditorZoneBase.cs
- ApplicationServiceManager.cs
- TreeViewTemplateSelector.cs
- LayoutUtils.cs
- DateTimeParse.cs
- PrePostDescendentsWalker.cs
- COM2Properties.cs
- UnknownWrapper.cs
- ModelTypeConverter.cs
- RightNameExpirationInfoPair.cs
- DbProviderSpecificTypePropertyAttribute.cs
- InspectionWorker.cs
- LinkArea.cs
- ProcessHostConfigUtils.cs
- HttpBufferlessInputStream.cs
- ActivationArguments.cs
- AppSettingsSection.cs
- CacheManager.cs
- SymLanguageVendor.cs
- ErrorWrapper.cs
- PanelStyle.cs
- Utils.cs
- ReferencedAssemblyResolver.cs
- Errors.cs
- ListDataHelper.cs
- PermissionRequestEvidence.cs
- IsolatedStoragePermission.cs
- Overlapped.cs
- __ConsoleStream.cs
- sqlmetadatafactory.cs
- PeerServiceMessageContracts.cs
- RegisteredScript.cs
- MetadataItemSerializer.cs
- SQLByteStorage.cs
- ActiveDesignSurfaceEvent.cs
- EntityDataSourceViewSchema.cs
- CompositeDataBoundControl.cs
- SymLanguageVendor.cs
- HMACSHA256.cs
- WebContext.cs
- MailMessageEventArgs.cs
- _HeaderInfo.cs
- InboundActivityHelper.cs
- XhtmlBasicListAdapter.cs
- ColumnReorderedEventArgs.cs
- Range.cs
- ClientTargetCollection.cs
- NumericUpDownAcceleration.cs
- HighlightComponent.cs
- CurrentTimeZone.cs
- ZipIOLocalFileDataDescriptor.cs
- XmlSerializerAssemblyAttribute.cs
- CancelAsyncOperationRequest.cs
- WebServiceParameterData.cs
- DtcInterfaces.cs
- ClickablePoint.cs
- XhtmlBasicFormAdapter.cs
- DirectoryNotFoundException.cs
- ProxyManager.cs
- CheckBoxList.cs
- CheckBox.cs
- DocumentPage.cs
- DefaultParameterValueAttribute.cs
- XmlSchemaInclude.cs
- WithStatement.cs
- XamlStyleSerializer.cs
- CodeSubDirectoriesCollection.cs
- AutomationPeer.cs
- SafeNativeMethods.cs
- Options.cs
- Formatter.cs
- CustomGrammar.cs
- PropertyInfoSet.cs
- WebPartConnectionsEventArgs.cs
- ListBase.cs
- RuntimeEnvironment.cs
- OciEnlistContext.cs
- SecurityElement.cs
- WeakEventTable.cs
- CssStyleCollection.cs
- HttpCacheVary.cs
- CqlParser.cs
- HtmlLink.cs
- ToolZone.cs
- StateRuntime.cs
- DbConnectionFactory.cs
- InternalPermissions.cs
- CodeNamespaceImport.cs
- PreservationFileWriter.cs
- XmlDeclaration.cs
- EventlogProvider.cs
- XmlSchemaNotation.cs
- ProtocolsConfiguration.cs
- AbsoluteQuery.cs
- ContextDataSource.cs
- KnownBoxes.cs