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
- MessageSecurityVersionConverter.cs
- BindingSourceDesigner.cs
- SqlDataSourceCommandEventArgs.cs
- OleDbCommand.cs
- NavigationProgressEventArgs.cs
- DES.cs
- InfoCardProofToken.cs
- WindowsImpersonationContext.cs
- XappLauncher.cs
- PeerContact.cs
- WpfPayload.cs
- CallbackValidatorAttribute.cs
- srgsitem.cs
- HiddenFieldPageStatePersister.cs
- RemotingException.cs
- XmlHierarchyData.cs
- RealizationContext.cs
- SecurityContextSecurityTokenParameters.cs
- ScrollBar.cs
- HtmlElementEventArgs.cs
- VSWCFServiceContractGenerator.cs
- SimpleRecyclingCache.cs
- StubHelpers.cs
- FontDialog.cs
- Timer.cs
- BindingListCollectionView.cs
- DataGridViewImageColumn.cs
- DnsPermission.cs
- StandardBindingOptionalReliableSessionElement.cs
- ContentPresenter.cs
- FormViewAutoFormat.cs
- AttributeAction.cs
- XmlExpressionDumper.cs
- followingquery.cs
- DbConnectionPoolIdentity.cs
- View.cs
- ImageIndexConverter.cs
- Events.cs
- BinaryNegotiation.cs
- XmlNullResolver.cs
- TTSEngineProxy.cs
- ReversePositionQuery.cs
- EncodingInfo.cs
- AlternationConverter.cs
- QueueProcessor.cs
- DataGridViewCellCancelEventArgs.cs
- ModelUIElement3D.cs
- QilCloneVisitor.cs
- DefaultCompensation.cs
- TextCollapsingProperties.cs
- IdentityReference.cs
- FilteredAttributeCollection.cs
- XmlObjectSerializerContext.cs
- HeaderedItemsControl.cs
- TraceContext.cs
- RemotingConfigParser.cs
- ArcSegment.cs
- BackgroundWorker.cs
- Expressions.cs
- EntityContainer.cs
- ToolboxBitmapAttribute.cs
- DataObject.cs
- FixedHighlight.cs
- PnrpPermission.cs
- Converter.cs
- WorkflowMarkupSerializerMapping.cs
- QueueProcessor.cs
- ObjectHandle.cs
- SiteMapPath.cs
- SchemaElementDecl.cs
- StackOverflowException.cs
- BitmapEffectDrawing.cs
- Asn1IntegerConverter.cs
- CodeCastExpression.cs
- DocumentXPathNavigator.cs
- Parsers.cs
- MenuTracker.cs
- EntityContainerEntitySetDefiningQuery.cs
- SelectionRangeConverter.cs
- EntityPropertyMappingAttribute.cs
- TraceInternal.cs
- HtmlContainerControl.cs
- ProbeMatchesMessageCD1.cs
- Pen.cs
- IdentityNotMappedException.cs
- NetworkStream.cs
- StorageMappingItemCollection.cs
- HttpRawResponse.cs
- PolyBezierSegment.cs
- QilReference.cs
- TemplateBaseAction.cs
- FlowThrottle.cs
- TabControl.cs
- WebPart.cs
- _NetRes.cs
- DebugView.cs
- DataStreamFromComStream.cs
- RegularExpressionValidator.cs
- SID.cs
- BindingManagerDataErrorEventArgs.cs