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
- DataControlFieldsEditor.cs
- OdbcStatementHandle.cs
- ProcessingInstructionAction.cs
- StringDictionary.cs
- BitStack.cs
- WorkflowExecutor.cs
- IndexOutOfRangeException.cs
- UnaryExpression.cs
- NetTcpSectionData.cs
- DataGridViewCellStyle.cs
- ComAwareEventInfo.cs
- FormatterServices.cs
- KnowledgeBase.cs
- HttpChannelHelper.cs
- AnnotationComponentManager.cs
- BuildResult.cs
- SqlClientWrapperSmiStream.cs
- SiteMapHierarchicalDataSourceView.cs
- Message.cs
- IndexOutOfRangeException.cs
- ConsumerConnectionPoint.cs
- BlurBitmapEffect.cs
- GridViewRowEventArgs.cs
- Literal.cs
- ISAPIWorkerRequest.cs
- DataGridColumnHeaderCollection.cs
- Parsers.cs
- HostingEnvironment.cs
- Constants.cs
- XmlSchemaObject.cs
- ToolboxItemFilterAttribute.cs
- HttpCachePolicyElement.cs
- SqlTopReducer.cs
- XmlIgnoreAttribute.cs
- TextSchema.cs
- IdleTimeoutMonitor.cs
- GroupPartitionExpr.cs
- TextBoxRenderer.cs
- ItemsChangedEventArgs.cs
- DataGridViewCheckBoxColumn.cs
- QilFactory.cs
- SchemaImporter.cs
- AlphaSortedEnumConverter.cs
- InputReferenceExpression.cs
- XPathDocument.cs
- EqualityComparer.cs
- XslVisitor.cs
- BinaryKeyIdentifierClause.cs
- AddingNewEventArgs.cs
- FusionWrap.cs
- FuncTypeConverter.cs
- GridViewColumnCollection.cs
- PathFigureCollectionValueSerializer.cs
- CharStorage.cs
- Vector3DKeyFrameCollection.cs
- SemaphoreFullException.cs
- BidPrivateBase.cs
- SqlBulkCopyColumnMappingCollection.cs
- TextEditorSpelling.cs
- DesignerUtils.cs
- StaticContext.cs
- UserPreferenceChangedEventArgs.cs
- Triplet.cs
- Pen.cs
- SHA1CryptoServiceProvider.cs
- ListBoxItemWrapperAutomationPeer.cs
- EmptyControlCollection.cs
- DataTableCollection.cs
- Timer.cs
- SByte.cs
- CodeDOMProvider.cs
- AssociationSetEnd.cs
- indexingfiltermarshaler.cs
- SBCSCodePageEncoding.cs
- DataGridViewCellValidatingEventArgs.cs
- HttpCachePolicy.cs
- WorkflowEventArgs.cs
- QilGeneratorEnv.cs
- QilList.cs
- AspProxy.cs
- CompensationHandlingFilter.cs
- KeyMatchBuilder.cs
- DesignDataSource.cs
- HwndAppCommandInputProvider.cs
- PropertyDescriptorComparer.cs
- FlowSwitchLink.cs
- XmlConvert.cs
- HijriCalendar.cs
- ArcSegment.cs
- SystemResourceKey.cs
- IndicShape.cs
- GridViewDeletedEventArgs.cs
- LinqDataSourceContextEventArgs.cs
- CodeNamespace.cs
- FloatUtil.cs
- CustomPopupPlacement.cs
- Queue.cs
- ImmutablePropertyDescriptorGridEntry.cs
- MD5CryptoServiceProvider.cs
- UserInitiatedNavigationPermission.cs