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
- WebDisplayNameAttribute.cs
- XmlSigningNodeWriter.cs
- ReaderContextStackData.cs
- Material.cs
- SerializableAttribute.cs
- CompareValidator.cs
- XmlSchemaValidator.cs
- CompositionAdorner.cs
- Vector3D.cs
- CollectionViewGroupInternal.cs
- MouseCaptureWithinProperty.cs
- Evidence.cs
- OdbcConnection.cs
- AdapterUtil.cs
- ReferentialConstraintRoleElement.cs
- MouseBinding.cs
- AmbientLight.cs
- safelinkcollection.cs
- SchemaImporter.cs
- PaginationProgressEventArgs.cs
- GridViewAutomationPeer.cs
- EventItfInfo.cs
- Part.cs
- LinqDataSourceValidationException.cs
- IndexOutOfRangeException.cs
- DataProtection.cs
- DictionaryChange.cs
- FederatedMessageSecurityOverHttp.cs
- BrowserCapabilitiesFactory.cs
- SpeakProgressEventArgs.cs
- ExpressionBuilder.cs
- SelectedDatesCollection.cs
- ConnectionProviderAttribute.cs
- Vector.cs
- RoleManagerEventArgs.cs
- AdvancedBindingPropertyDescriptor.cs
- FormatterConverter.cs
- CodeTypeParameter.cs
- CompiledQuery.cs
- SystemIPv4InterfaceProperties.cs
- AmbientLight.cs
- ToolStripItemEventArgs.cs
- X500Name.cs
- _FtpDataStream.cs
- AutomationPropertyInfo.cs
- RoleGroup.cs
- ExtendedProtectionPolicyElement.cs
- OrthographicCamera.cs
- IteratorDescriptor.cs
- ImageClickEventArgs.cs
- Viewport3DAutomationPeer.cs
- StringAnimationUsingKeyFrames.cs
- typedescriptorpermissionattribute.cs
- XpsPackagingException.cs
- TemplateControlBuildProvider.cs
- Vector3dCollection.cs
- ListViewDeletedEventArgs.cs
- WebZone.cs
- XmlSchemaComplexContentExtension.cs
- PresentationUIStyleResources.cs
- KeyboardEventArgs.cs
- TimeSpanMinutesConverter.cs
- EntityContainerEmitter.cs
- XamlDesignerSerializationManager.cs
- XmlSchemaAttribute.cs
- MetadataArtifactLoaderComposite.cs
- ParameterToken.cs
- WebPartsSection.cs
- BuildTopDownAttribute.cs
- AutomationElementIdentifiers.cs
- SettingsProperty.cs
- odbcmetadatacolumnnames.cs
- AnimationStorage.cs
- StreamSecurityUpgradeInitiatorAsyncResult.cs
- RadioButtonPopupAdapter.cs
- StringToken.cs
- CounterCreationData.cs
- SymmetricKeyWrap.cs
- GridViewCancelEditEventArgs.cs
- DesignBindingPropertyDescriptor.cs
- ConfigurationManagerHelperFactory.cs
- XmlSchemaAttributeGroupRef.cs
- XmlJsonReader.cs
- ValueTypeFixupInfo.cs
- Operators.cs
- UIElementParagraph.cs
- UntrustedRecipientException.cs
- TdsEnums.cs
- RequestUriProcessor.cs
- XPathMultyIterator.cs
- Utilities.cs
- InputLanguageProfileNotifySink.cs
- Classification.cs
- ToolStripSplitStackLayout.cs
- TextAutomationPeer.cs
- Timeline.cs
- AccessibleObject.cs
- GridViewUpdateEventArgs.cs
- BeginEvent.cs
- TransformValueSerializer.cs