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
- _TLSstream.cs
- XamlParser.cs
- __ConsoleStream.cs
- MethodImplAttribute.cs
- PersistChildrenAttribute.cs
- EmptyControlCollection.cs
- ItemsControl.cs
- HttpContextServiceHost.cs
- Matrix3D.cs
- AnonymousIdentificationSection.cs
- SchemaReference.cs
- Utils.cs
- ToolStripButton.cs
- MarkupCompilePass2.cs
- WebScriptEnablingBehavior.cs
- XPathNodeList.cs
- InkCollectionBehavior.cs
- ProtocolsConfigurationHandler.cs
- SqlParameter.cs
- RadioButtonFlatAdapter.cs
- ConfigurationSettings.cs
- MetricEntry.cs
- KnownBoxes.cs
- Stream.cs
- RuntimeCompatibilityAttribute.cs
- TextRangeEditTables.cs
- WpfXamlLoader.cs
- ReliableChannelFactory.cs
- MobileResource.cs
- DataGridRow.cs
- XmlnsDictionary.cs
- CommonDialog.cs
- TextContainerChangedEventArgs.cs
- MultiTrigger.cs
- _Connection.cs
- SqlMetaData.cs
- webclient.cs
- EntityRecordInfo.cs
- SqlClientPermission.cs
- CodePrimitiveExpression.cs
- ReferentialConstraint.cs
- ZoneLinkButton.cs
- BitmapSizeOptions.cs
- OracleFactory.cs
- ClientUIRequest.cs
- CancellationState.cs
- XmlArrayItemAttribute.cs
- RegexCompiler.cs
- PkcsMisc.cs
- ConfigPathUtility.cs
- XmlILCommand.cs
- ActivitiesCollection.cs
- TextWriter.cs
- HttpWebRequestElement.cs
- Visitors.cs
- HttpRuntime.cs
- GuidelineSet.cs
- FormatException.cs
- AdjustableArrowCap.cs
- Resources.Designer.cs
- SoapAttributeOverrides.cs
- BezierSegment.cs
- GeometryConverter.cs
- sitestring.cs
- RoleManagerModule.cs
- __Error.cs
- OracleMonthSpan.cs
- safelinkcollection.cs
- CodeIdentifiers.cs
- URL.cs
- ValidatorCompatibilityHelper.cs
- CustomAssemblyResolver.cs
- AuthorizationRuleCollection.cs
- ResourceDisplayNameAttribute.cs
- MonthChangedEventArgs.cs
- CellTreeNodeVisitors.cs
- XmlSchemaExternal.cs
- WindowsGraphicsWrapper.cs
- TitleStyle.cs
- XmlProcessingInstruction.cs
- Message.cs
- FontEmbeddingManager.cs
- CodeTypeMemberCollection.cs
- GuidConverter.cs
- WrappedIUnknown.cs
- DBCommandBuilder.cs
- RsaSecurityTokenAuthenticator.cs
- CustomTrackingRecord.cs
- ObjectListFieldCollection.cs
- BufferCache.cs
- XmlFormatExtensionPointAttribute.cs
- PropertyTabAttribute.cs
- InvalidComObjectException.cs
- GraphicsPath.cs
- InvalidCommandTreeException.cs
- BlobPersonalizationState.cs
- BufferedGraphicsManager.cs
- EventData.cs
- ArgumentOutOfRangeException.cs
- NodeFunctions.cs