Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / System / Windows / Data / FilterEventArgs.cs / 1 / FilterEventArgs.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: Filter event arguments // // Specs: [....]/connecteddata/Specs/CollectionViewSource.mht // //--------------------------------------------------------------------------- using System; namespace System.Windows.Data { ////// Arguments for the Filter event. /// ////// public class FilterEventArgs : EventArgs { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- internal FilterEventArgs(object item) { _item = item; _accepted = true; } //------------------------------------------------------ // // Public Properties // //----------------------------------------------------- ///The event receiver should set Accepted to true if the item /// passes the filter, or false if it fails.
////// The object to be tested by the filter. /// public object Item { get { return _item; } } ////// The return value of the filter. /// public bool Accepted { get { return _accepted; } set { _accepted = value; } } //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ private object _item; private bool _accepted; } ////// The delegate to use for handlers that receive FilterEventArgs. /// public delegate void FilterEventHandler(object sender, FilterEventArgs e); } // 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
- EmbeddedMailObjectsCollection.cs
- ConnectionsZone.cs
- ListChangedEventArgs.cs
- Stacktrace.cs
- PageThemeBuildProvider.cs
- ReflectionUtil.cs
- CacheAxisQuery.cs
- FakeModelPropertyImpl.cs
- NamedPermissionSet.cs
- VariantWrapper.cs
- DebugView.cs
- ReflectEventDescriptor.cs
- ApplicationBuildProvider.cs
- OdbcErrorCollection.cs
- MDIControlStrip.cs
- basenumberconverter.cs
- RegistryKey.cs
- BitmapEffect.cs
- RowSpanVector.cs
- MethodBuilderInstantiation.cs
- ExpandedWrapper.cs
- DES.cs
- MenuItemCollectionEditorDialog.cs
- BrowserCapabilitiesFactoryBase.cs
- SoapFault.cs
- recordstatescratchpad.cs
- HtmlPageAdapter.cs
- PrincipalPermissionMode.cs
- TextBounds.cs
- InvokeHandlers.cs
- HttpCookieCollection.cs
- IPPacketInformation.cs
- BooleanStorage.cs
- SslStream.cs
- SqlParameterCollection.cs
- InvokeBinder.cs
- DetailsViewUpdateEventArgs.cs
- TableFieldsEditor.cs
- QueryOutputWriter.cs
- TemplateManager.cs
- CodeIdentifier.cs
- MessageSmuggler.cs
- HtmlGenericControl.cs
- JapaneseLunisolarCalendar.cs
- ImportContext.cs
- InputLangChangeEvent.cs
- MemberDescriptor.cs
- IndexingContentUnit.cs
- PasswordBox.cs
- TypeSystem.cs
- PassportAuthenticationModule.cs
- DBCommandBuilder.cs
- IdentifierService.cs
- PropertyChangedEventManager.cs
- TypeDependencyAttribute.cs
- TargetInvocationException.cs
- TimeSpanOrInfiniteConverter.cs
- DotNetATv1WindowsLogEntryDeserializer.cs
- OutputCacheProfile.cs
- MetaModel.cs
- SessionState.cs
- RelatedView.cs
- PropertyRecord.cs
- Stackframe.cs
- ConcurrencyMode.cs
- ListItemsPage.cs
- DataGridComboBoxColumn.cs
- CustomAssemblyResolver.cs
- PersonalizationProviderHelper.cs
- InkCollectionBehavior.cs
- RegexWorker.cs
- XPathScanner.cs
- StoreItemCollection.Loader.cs
- DrawListViewColumnHeaderEventArgs.cs
- SimpleType.cs
- CaseStatement.cs
- TemplateControlCodeDomTreeGenerator.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- HttpGetProtocolImporter.cs
- DescendantQuery.cs
- AddInServer.cs
- PageThemeParser.cs
- ContentElement.cs
- Scheduling.cs
- MessageDecoder.cs
- BidPrivateBase.cs
- CommonGetThemePartSize.cs
- EntryPointNotFoundException.cs
- OperationContextScope.cs
- RuleSettings.cs
- ReadOnlyDictionary.cs
- BaseTreeIterator.cs
- _SslSessionsCache.cs
- SettingsPropertyIsReadOnlyException.cs
- ISAPIRuntime.cs
- DSASignatureDeformatter.cs
- DataTablePropertyDescriptor.cs
- AxisAngleRotation3D.cs
- ContentTextAutomationPeer.cs
- ISessionStateStore.cs