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
- Version.cs
- WmlValidationSummaryAdapter.cs
- DataSourceExpression.cs
- StreamGeometryContext.cs
- DayRenderEvent.cs
- PermissionSetTriple.cs
- ToolBarButton.cs
- LinkedResourceCollection.cs
- TabControl.cs
- IdentityModelStringsVersion1.cs
- ServerValidateEventArgs.cs
- SessionEndingCancelEventArgs.cs
- HtmlTableCell.cs
- SubMenuStyleCollection.cs
- ScriptComponentDescriptor.cs
- BuildProviderInstallComponent.cs
- Point3DAnimation.cs
- ScaleTransform3D.cs
- Constraint.cs
- PersonalizationDictionary.cs
- ZipIOExtraFieldPaddingElement.cs
- ShapingWorkspace.cs
- wgx_commands.cs
- PlainXmlSerializer.cs
- FontUnitConverter.cs
- _AutoWebProxyScriptWrapper.cs
- DataGridHelper.cs
- KeyValuePair.cs
- Version.cs
- SmuggledIUnknown.cs
- ColumnResizeUndoUnit.cs
- PrintDialog.cs
- ScrollEventArgs.cs
- ClientSettingsProvider.cs
- CompiledAction.cs
- CompiledQuery.cs
- EastAsianLunisolarCalendar.cs
- FigureHelper.cs
- TextContainerHelper.cs
- ConnectionPointCookie.cs
- ServiceModelStringsVersion1.cs
- TextContainerChangedEventArgs.cs
- WpfWebRequestHelper.cs
- SiblingIterators.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- HtmlElementErrorEventArgs.cs
- DataGridViewComboBoxColumn.cs
- ClassDataContract.cs
- FlowchartDesignerCommands.cs
- DbConnectionPoolOptions.cs
- ProfileSettings.cs
- StringAnimationUsingKeyFrames.cs
- Geometry.cs
- SynchronizedPool.cs
- LocatorBase.cs
- TreeWalker.cs
- UnsafeNativeMethodsMilCoreApi.cs
- VoiceInfo.cs
- BackgroundFormatInfo.cs
- ServiceChannelManager.cs
- DbModificationCommandTree.cs
- IsolatedStorageException.cs
- DispatcherExceptionEventArgs.cs
- CryptoApi.cs
- UserNamePasswordClientCredential.cs
- Transform3D.cs
- CompilerResults.cs
- TextBoxBase.cs
- PeerResolverElement.cs
- UnsafeNativeMethods.cs
- DataGridColumnDropSeparator.cs
- CorrelationService.cs
- WebPartExportVerb.cs
- DetailsViewActionList.cs
- ToolStripDropDownButton.cs
- BindingSourceDesigner.cs
- HandledMouseEvent.cs
- OutputScopeManager.cs
- OneOfScalarConst.cs
- NotificationContext.cs
- DesignSurfaceCollection.cs
- FormsAuthenticationCredentials.cs
- SrgsElement.cs
- XpsSerializationManagerAsync.cs
- Point3DConverter.cs
- WmlCalendarAdapter.cs
- StyleTypedPropertyAttribute.cs
- WebServiceEnumData.cs
- DataColumnMappingCollection.cs
- HttpPostServerProtocol.cs
- EventlogProvider.cs
- DynamicArgumentDesigner.xaml.cs
- PermissionSetTriple.cs
- TypeGeneratedEventArgs.cs
- XPathNavigatorReader.cs
- KeyToListMap.cs
- WSTrust.cs
- CultureTableRecord.cs
- Debug.cs
- FileDialog_Vista.cs