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
- EventLogEntry.cs
- SoapFault.cs
- TableLayout.cs
- fixedPageContentExtractor.cs
- PeerNameResolver.cs
- TimeSpanMinutesConverter.cs
- XmlSchemaComplexContentExtension.cs
- MemberPath.cs
- WindowsScroll.cs
- Switch.cs
- XmlCharType.cs
- ReliableSessionBindingElement.cs
- EntityCommand.cs
- FacetEnabledSchemaElement.cs
- AutomationPatternInfo.cs
- OpenTypeMethods.cs
- DashStyles.cs
- SiteMembershipCondition.cs
- CompensatableSequenceActivity.cs
- StringSorter.cs
- NotFiniteNumberException.cs
- AlphabetConverter.cs
- ConfigurationException.cs
- PathGradientBrush.cs
- ProviderBase.cs
- FigureParaClient.cs
- SingleKeyFrameCollection.cs
- RTLAwareMessageBox.cs
- SelectionGlyphBase.cs
- SmiTypedGetterSetter.cs
- CounterSample.cs
- SchemaDeclBase.cs
- ItemAutomationPeer.cs
- OleDbParameter.cs
- ThemeInfoAttribute.cs
- AssociationProvider.cs
- HybridDictionary.cs
- PeerNameRecordCollection.cs
- CreateUserWizardStep.cs
- CodeChecksumPragma.cs
- ObjectStateFormatter.cs
- FileChangeNotifier.cs
- RawStylusInputCustomDataList.cs
- MetadataStore.cs
- IsolatedStorageFilePermission.cs
- SerialPort.cs
- DataGrid.cs
- Tile.cs
- DataViewManagerListItemTypeDescriptor.cs
- GroupBox.cs
- xmlsaver.cs
- httpstaticobjectscollection.cs
- RawMouseInputReport.cs
- WebBrowserNavigatedEventHandler.cs
- RTLAwareMessageBox.cs
- GridViewAutomationPeer.cs
- CounterCreationDataCollection.cs
- BinaryNegotiation.cs
- DesignerLinkAdapter.cs
- StaticFileHandler.cs
- TextBoxAutomationPeer.cs
- AsnEncodedData.cs
- SchemaElement.cs
- DelegateSerializationHolder.cs
- SynchronizationHandlesCodeDomSerializer.cs
- PropertyTabChangedEvent.cs
- PocoPropertyAccessorStrategy.cs
- ContentTextAutomationPeer.cs
- SafeLocalMemHandle.cs
- InvokeFunc.cs
- WsatTransactionInfo.cs
- RoleServiceManager.cs
- FixedDSBuilder.cs
- GlobalEventManager.cs
- ConnectionStringsExpressionBuilder.cs
- LocatorGroup.cs
- PermissionSet.cs
- WindowsTooltip.cs
- IdnMapping.cs
- Operators.cs
- HwndTarget.cs
- SchemaInfo.cs
- GiveFeedbackEventArgs.cs
- PopupControlService.cs
- FontInfo.cs
- Ref.cs
- DesignSurfaceServiceContainer.cs
- ListBoxDesigner.cs
- XmlNavigatorStack.cs
- SessionPageStatePersister.cs
- DBSqlParserColumn.cs
- FirewallWrapper.cs
- WebServiceReceiveDesigner.cs
- Deflater.cs
- BinarySecretSecurityToken.cs
- ColumnCollection.cs
- RuleSet.cs
- ConnectionPoint.cs
- PictureBox.cs
- TagPrefixInfo.cs