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
- FrameworkContentElementAutomationPeer.cs
- DataObjectMethodAttribute.cs
- EntityDataSourceColumn.cs
- ThemeInfoAttribute.cs
- HtmlContainerControl.cs
- DesignTimeTemplateParser.cs
- RenameRuleObjectDialog.Designer.cs
- SourceElementsCollection.cs
- LinearQuaternionKeyFrame.cs
- CodeAttributeDeclaration.cs
- BamlTreeUpdater.cs
- Image.cs
- StreamBodyWriter.cs
- SocketException.cs
- Latin1Encoding.cs
- SqlInternalConnectionSmi.cs
- SystemIPv4InterfaceProperties.cs
- WSDualHttpBinding.cs
- hresults.cs
- HttpClientCertificate.cs
- EmbeddedMailObjectsCollection.cs
- FixedSOMTextRun.cs
- ColorMap.cs
- SoapIncludeAttribute.cs
- VBIdentifierTrimConverter.cs
- DurationConverter.cs
- NetworkInformationPermission.cs
- Int32Converter.cs
- ConditionCollection.cs
- Mapping.cs
- FunctionImportMapping.cs
- TablePattern.cs
- ThaiBuddhistCalendar.cs
- MethodToken.cs
- ExpressionBinding.cs
- NetDataContractSerializer.cs
- StylusPointProperties.cs
- SimpleType.cs
- CachingHintValidation.cs
- XamlSerializer.cs
- SettingsProviderCollection.cs
- BindingMemberInfo.cs
- Crc32.cs
- AsmxEndpointPickerExtension.cs
- _ChunkParse.cs
- XPathSelfQuery.cs
- WebPartTransformerCollection.cs
- XmlSchemaAnnotated.cs
- PropertyManager.cs
- BitArray.cs
- DataSourceGroupCollection.cs
- StrokeDescriptor.cs
- SafeFileMappingHandle.cs
- TableLayoutStyle.cs
- RegistrationServices.cs
- ListBoxAutomationPeer.cs
- UserPreferenceChangedEventArgs.cs
- ProcessProtocolHandler.cs
- TableRow.cs
- XPathArrayIterator.cs
- ClientBuildManagerCallback.cs
- DependencyPropertyKey.cs
- RequestCacheEntry.cs
- StopStoryboard.cs
- CounterSetInstanceCounterDataSet.cs
- DisplayInformation.cs
- UInt16Storage.cs
- GeneralTransformGroup.cs
- SpellerStatusTable.cs
- PointKeyFrameCollection.cs
- Thumb.cs
- Literal.cs
- PassportAuthenticationEventArgs.cs
- _FixedSizeReader.cs
- TimeZone.cs
- TypedReference.cs
- UserNamePasswordServiceCredential.cs
- VideoDrawing.cs
- SecurityBindingElementImporter.cs
- SQLCharsStorage.cs
- ColumnWidthChangingEvent.cs
- ParseHttpDate.cs
- SqlConnectionFactory.cs
- CodeConstructor.cs
- HttpApplicationStateWrapper.cs
- QilParameter.cs
- EmptyControlCollection.cs
- CheckBoxList.cs
- OdbcFactory.cs
- TextTreeTextNode.cs
- Bezier.cs
- ServiceThrottle.cs
- SendMailErrorEventArgs.cs
- ToolboxItemImageConverter.cs
- MenuItemStyleCollection.cs
- CollectionAdapters.cs
- EdgeProfileValidation.cs
- SettingsContext.cs
- VisemeEventArgs.cs
- FastPropertyAccessor.cs