Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Controls / CleanUpVirtualizedItemEventArgs.cs / 1305600 / 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
- PropertyMappingExceptionEventArgs.cs
- ManipulationLogic.cs
- InvalidDocumentContentsException.cs
- BuildProviderCollection.cs
- KerberosReceiverSecurityToken.cs
- LocatorManager.cs
- MethodSet.cs
- JpegBitmapDecoder.cs
- HttpWebResponse.cs
- InputScopeConverter.cs
- ErrorFormatter.cs
- RawTextInputReport.cs
- SessionIDManager.cs
- CheckoutException.cs
- TableAutomationPeer.cs
- NonBatchDirectoryCompiler.cs
- PointIndependentAnimationStorage.cs
- TreeView.cs
- DataGridViewColumnConverter.cs
- ChannelEndpointElementCollection.cs
- TrackingMemoryStream.cs
- DoubleLinkList.cs
- FontDifferentiator.cs
- PackWebRequestFactory.cs
- CustomAttributeFormatException.cs
- MultiTrigger.cs
- IssuanceLicense.cs
- UITypeEditor.cs
- ViewgenContext.cs
- FlowDocumentPage.cs
- SqlException.cs
- RegexReplacement.cs
- FixedTextBuilder.cs
- TextSelectionHighlightLayer.cs
- EncoderExceptionFallback.cs
- WebBrowserContainer.cs
- ConnectionProviderAttribute.cs
- SqlNamer.cs
- KeyInstance.cs
- GPStream.cs
- SynchronizedPool.cs
- ContextToken.cs
- HttpProfileGroupBase.cs
- TreeViewCancelEvent.cs
- ProfileSettingsCollection.cs
- BindingBase.cs
- XmlCompatibilityReader.cs
- DownloadProgressEventArgs.cs
- ProtocolElement.cs
- ItemCollection.cs
- RuntimeCompatibilityAttribute.cs
- ContainerSelectorBehavior.cs
- ScrollProperties.cs
- NavigationPropertyEmitter.cs
- ComponentSerializationService.cs
- XhtmlCssHandler.cs
- TextFormatterHost.cs
- ReflectEventDescriptor.cs
- ActivityExecutionContext.cs
- MatrixStack.cs
- PageTheme.cs
- EdmMember.cs
- EdmFunction.cs
- Utilities.cs
- SerializationUtilities.cs
- FormatterServices.cs
- XmlAnyAttributeAttribute.cs
- OdbcEnvironmentHandle.cs
- TypeGeneratedEventArgs.cs
- TransformationRules.cs
- ContentElement.cs
- AddInEnvironment.cs
- FlagsAttribute.cs
- CharacterShapingProperties.cs
- RadioButtonStandardAdapter.cs
- OleDbEnumerator.cs
- ProxyElement.cs
- Rect3DConverter.cs
- XPathPatternParser.cs
- BindingListCollectionView.cs
- Completion.cs
- FormsAuthenticationUserCollection.cs
- UndoUnit.cs
- OleDbConnection.cs
- QuadraticBezierSegment.cs
- PointAnimationBase.cs
- lengthconverter.cs
- CompilationRelaxations.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- CharacterMetrics.cs
- ConnectionManagementSection.cs
- BookmarkInfo.cs
- IsolatedStorageFileStream.cs
- LoginView.cs
- WebEventTraceProvider.cs
- WebPartHeaderCloseVerb.cs
- _LocalDataStoreMgr.cs
- Page.cs
- InvalidDataException.cs
- ArithmeticLiteral.cs