Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / System / Windows / Controls / CleanUpVirtualizedItemEventArgs.cs / 1 / CleanUpVirtualizedItemEventArgs.cs
//---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System; using System.ComponentModel; namespace System.Windows.Controls { ////// Event arguments communicating an element that is being prepared to be re-virtualized. /// public class CleanUpVirtualizedItemEventArgs : RoutedEventArgs { internal CleanUpVirtualizedItemEventArgs(object value, UIElement element) : base(VirtualizingStackPanel.CleanUpVirtualizedItemEvent) { _value = value; _element = element; } ////// The original data value. /// If the data value is a visual element, it will be the same as UIElement. /// public object Value { get { return _value; } } ////// The instance of the visual element that represented the data value. /// If the data value is a visual element, it will be the same as UIElement. /// public UIElement UIElement { get { return _element; } } ////// Set by handlers of this event to true to indicate that the /// re-virtualizing of this item should not happen. /// public bool Cancel { get { return _cancel; } set { _cancel = value; } } private object _value; private UIElement _element; private bool _cancel; } ////// The delegate to use for handlers that receive CleanUpVirtualizedItemEventArgs. /// public delegate void CleanUpVirtualizedItemEventHandler(object sender, CleanUpVirtualizedItemEventArgs 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
- BitmapEffectState.cs
- FromRequest.cs
- CatalogZoneBase.cs
- XmlSchemaAttribute.cs
- CodeEntryPointMethod.cs
- ServiceModelConfigurationSectionGroup.cs
- TextRunProperties.cs
- LongValidator.cs
- XmlJsonReader.cs
- EntityViewGenerator.cs
- BypassElementCollection.cs
- TextChange.cs
- FixedPage.cs
- ToolboxItemCollection.cs
- HtmlControlPersistable.cs
- FixedSOMLineCollection.cs
- BaseTreeIterator.cs
- GacUtil.cs
- DataGridViewColumn.cs
- OracleConnection.cs
- DocumentSequenceHighlightLayer.cs
- InputScope.cs
- webeventbuffer.cs
- DataErrorValidationRule.cs
- EpmSourcePathSegment.cs
- WpfSharedXamlSchemaContext.cs
- MobileTextWriter.cs
- StickyNoteHelper.cs
- SmtpDigestAuthenticationModule.cs
- CustomLineCap.cs
- PrimitiveSchema.cs
- Size.cs
- CollectionView.cs
- CategoryValueConverter.cs
- ServiceBuildProvider.cs
- DynamicPropertyReader.cs
- ChangePasswordAutoFormat.cs
- SqlXmlStorage.cs
- ErrorActivity.cs
- DataServiceContext.cs
- ZipIORawDataFileBlock.cs
- AddInStore.cs
- SpellerInterop.cs
- DragStartedEventArgs.cs
- HiddenFieldDesigner.cs
- TraceHwndHost.cs
- ChildTable.cs
- BinaryEditor.cs
- RelatedEnd.cs
- DbParameterHelper.cs
- SmtpMail.cs
- DataControlExtensions.cs
- Font.cs
- WebZoneDesigner.cs
- ActivityWithResultConverter.cs
- DataTrigger.cs
- SID.cs
- Imaging.cs
- FileChangeNotifier.cs
- Polyline.cs
- ControlAdapter.cs
- SaveFileDialog.cs
- XmlAtomErrorReader.cs
- OneToOneMappingSerializer.cs
- ImageIndexEditor.cs
- MarkupProperty.cs
- RSAOAEPKeyExchangeFormatter.cs
- MultiSelectRootGridEntry.cs
- SymDocumentType.cs
- ContainerFilterService.cs
- XmlRootAttribute.cs
- SplineKeyFrames.cs
- ConsoleTraceListener.cs
- HorizontalAlignConverter.cs
- AlignmentYValidation.cs
- Header.cs
- StringBuilder.cs
- TdsParserStateObject.cs
- Int16Converter.cs
- LineBreakRecord.cs
- MetadataArtifactLoaderFile.cs
- FunctionImportElement.cs
- RuntimeWrappedException.cs
- RequestContextBase.cs
- WebServiceHandler.cs
- ContainerFilterService.cs
- SpellerInterop.cs
- CaseExpr.cs
- SqlBulkCopy.cs
- PriorityItem.cs
- PartialCachingControl.cs
- SiteMembershipCondition.cs
- MemoryMappedFileSecurity.cs
- QueryStringParameter.cs
- TransformCollection.cs
- LazyTextWriterCreator.cs
- ConfigXmlAttribute.cs
- WebPartDisplayModeCancelEventArgs.cs
- FontCollection.cs
- XmlSchemaIdentityConstraint.cs