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
- CodeAttributeDeclaration.cs
- SByte.cs
- Light.cs
- EntitySqlQueryCacheEntry.cs
- MetadataArtifactLoaderCompositeResource.cs
- XmlNamespaceMapping.cs
- LayeredChannelFactory.cs
- CryptoApi.cs
- DbResourceAllocator.cs
- DataGridViewSelectedColumnCollection.cs
- CodeGotoStatement.cs
- VirtualizedContainerService.cs
- CollectionViewGroup.cs
- SystemFonts.cs
- MatrixCamera.cs
- CompiledRegexRunnerFactory.cs
- NumberFormatInfo.cs
- BaseCollection.cs
- TypeNameConverter.cs
- ViewStateException.cs
- _NetworkingPerfCounters.cs
- WsatEtwTraceListener.cs
- CommandConverter.cs
- ModuleBuilder.cs
- HMACSHA256.cs
- BufferModeSettings.cs
- MetadataArtifactLoaderComposite.cs
- GridViewUpdateEventArgs.cs
- XmlReflectionImporter.cs
- ZipIOExtraFieldPaddingElement.cs
- XPathSingletonIterator.cs
- CollectionViewGroup.cs
- IndentTextWriter.cs
- HwndKeyboardInputProvider.cs
- ImageField.cs
- HijriCalendar.cs
- HwndSourceKeyboardInputSite.cs
- DrawingCollection.cs
- GZipStream.cs
- TableColumn.cs
- CaseInsensitiveHashCodeProvider.cs
- XPathQilFactory.cs
- ProfileSettings.cs
- util.cs
- PropertyKey.cs
- WithStatement.cs
- VisualStyleElement.cs
- ApplicationBuildProvider.cs
- ExpressionLink.cs
- ObjectDataSourceSelectingEventArgs.cs
- RSACryptoServiceProvider.cs
- ClockController.cs
- RectangleGeometry.cs
- OdbcError.cs
- WeakReference.cs
- AssemblyContextControlItem.cs
- ReachFixedPageSerializer.cs
- ChildDocumentBlock.cs
- PinnedBufferMemoryStream.cs
- HtmlControlPersistable.cs
- LinqDataSourceHelper.cs
- EndpointBehaviorElementCollection.cs
- LogicalExpr.cs
- GuidConverter.cs
- WebEventTraceProvider.cs
- DbConnectionStringBuilder.cs
- BigInt.cs
- MissingSatelliteAssemblyException.cs
- ParagraphVisual.cs
- ISFClipboardData.cs
- MultipartContentParser.cs
- DisplayMemberTemplateSelector.cs
- OracleString.cs
- SafeRightsManagementEnvironmentHandle.cs
- AnonymousIdentificationModule.cs
- XmlQuerySequence.cs
- ReceiveActivityDesignerTheme.cs
- SpellerStatusTable.cs
- EncodingStreamWrapper.cs
- MenuStrip.cs
- DBCSCodePageEncoding.cs
- WebPartZoneBaseDesigner.cs
- PeerNearMe.cs
- DashStyle.cs
- VBCodeProvider.cs
- ExpandSegment.cs
- PropertySet.cs
- LineBreakRecord.cs
- DataServiceProcessingPipelineEventArgs.cs
- SuppressIldasmAttribute.cs
- TextPatternIdentifiers.cs
- DatasetMethodGenerator.cs
- FileDialogCustomPlacesCollection.cs
- ContentTextAutomationPeer.cs
- __FastResourceComparer.cs
- DataErrorValidationRule.cs
- ActivationServices.cs
- CustomAttributeBuilder.cs
- AssociationTypeEmitter.cs
- EncoderBestFitFallback.cs