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
- CheckBox.cs
- WebReferencesBuildProvider.cs
- TemplateColumn.cs
- ReadOnlyDataSourceView.cs
- BitmapEffectGeneralTransform.cs
- ExpandSegmentCollection.cs
- ResolveNameEventArgs.cs
- DesignTimeTemplateParser.cs
- DependsOnAttribute.cs
- BitmapEffect.cs
- MultipartContentParser.cs
- RowToParametersTransformer.cs
- DataGridSortCommandEventArgs.cs
- PropertyInfoSet.cs
- Propagator.JoinPropagator.cs
- SQLBytes.cs
- DiscoveryDocumentSearchPattern.cs
- ApplicationHost.cs
- ValueType.cs
- InnerItemCollectionView.cs
- ProtectedProviderSettings.cs
- GridViewItemAutomationPeer.cs
- OleDbPermission.cs
- StateDesigner.cs
- ping.cs
- ColumnResult.cs
- CompareValidator.cs
- WebServiceMethodData.cs
- WindowsBrush.cs
- ListBase.cs
- HtmlHistory.cs
- LeaseManager.cs
- SystemIcmpV4Statistics.cs
- FaultDesigner.cs
- KeyToListMap.cs
- ExceptionCollection.cs
- ChildChangedEventArgs.cs
- recordstatefactory.cs
- ScriptModule.cs
- GradientSpreadMethodValidation.cs
- CopyNodeSetAction.cs
- AsyncDataRequest.cs
- MissingManifestResourceException.cs
- CommandField.cs
- DriveInfo.cs
- DbDeleteCommandTree.cs
- CommandManager.cs
- XhtmlTextWriter.cs
- ForeignConstraint.cs
- _WebProxyDataBuilder.cs
- DataGridViewAutoSizeModeEventArgs.cs
- SystemParameters.cs
- TriState.cs
- XPathNodeInfoAtom.cs
- ParentQuery.cs
- CollectionViewGroupInternal.cs
- TableLayoutPanelCellPosition.cs
- ConnectionPoolManager.cs
- ListSurrogate.cs
- HtmlHead.cs
- MergePropertyDescriptor.cs
- AsynchronousChannelMergeEnumerator.cs
- CompilerHelpers.cs
- FormsAuthenticationEventArgs.cs
- HwndSource.cs
- StatusBarPanel.cs
- figurelengthconverter.cs
- ChangeTracker.cs
- ScanQueryOperator.cs
- BamlRecords.cs
- MessageProtectionOrder.cs
- MethodExecutor.cs
- AssemblyFilter.cs
- Int64AnimationUsingKeyFrames.cs
- StructureChangedEventArgs.cs
- TrackingStringDictionary.cs
- EventLogPermissionEntryCollection.cs
- ExpressionCopier.cs
- InProcStateClientManager.cs
- MimeMultiPart.cs
- NativeMsmqMessage.cs
- BaseTemplateCodeDomTreeGenerator.cs
- TypeUsage.cs
- HiddenFieldPageStatePersister.cs
- CreateParams.cs
- TemplateKey.cs
- FormViewCommandEventArgs.cs
- Itemizer.cs
- ClientTargetSection.cs
- SHA256Managed.cs
- Rect.cs
- MailDefinition.cs
- FilterQuery.cs
- PerfCounters.cs
- _LocalDataStoreMgr.cs
- FamilyMap.cs
- CommandEventArgs.cs
- Deflater.cs
- HighContrastHelper.cs
- ScrollBar.cs