Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / UIAutomation / UIAutomationClient / System / Windows / Automation / VirtualizedItemPattern.cs / 1305600 / VirtualizedItemPattern.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Client-side wrapper for VirtualizedItem Pattern // // History: // 10/21/2008 : [....] - created // //--------------------------------------------------------------------------- using System; using System.Windows.Automation.Provider; using MS.Internal.Automation; using System.Runtime.InteropServices; namespace System.Windows.Automation { ////// Represents items inside containers which can be virtualized, this pattern can be used to realize them. /// #if (INTERNAL_COMPILE) internal class VirtualizedItemPattern: BasePattern #else public class VirtualizedItemPattern: BasePattern #endif { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors private VirtualizedItemPattern(AutomationElement el, SafePatternHandle hPattern) : base(el, hPattern) { _hPattern = hPattern; } #endregion Constructors //------------------------------------------------------ // // Public Constants / Readonly Fields // //----------------------------------------------------- #region Public Constants and Readonly Fields ///VirtualizedItem pattern public static readonly AutomationPattern Pattern = VirtualizedItemPatternIdentifiers.Pattern; #endregion Public Constants and Readonly Fields //------------------------------------------------------ // // Public Methods // //------------------------------------------------------ #region Public Methods ////// Request that a placeholder element make itself fully available. Blocks /// until element is available, which could take time. /// Parent control may scroll as a side effect if the container needs to /// bring the item into view in order to devirtualize it. /// public void Realize() { UiaCoreApi.VirtualizedItemPattern_Realize(_hPattern); } #endregion Public Methods //----------------------------------------------------- // // Internal Methods // //------------------------------------------------------ #region Internal Methods static internal object Wrap(AutomationElement el, SafePatternHandle hPattern, bool cached) { return new VirtualizedItemPattern(el, hPattern); } #endregion Internal Methods //----------------------------------------------------- // // Private Fields // //----------------------------------------------------- #region Private Fields private SafePatternHandle _hPattern; #endregion Private Fields } } // 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
- InvalidAsynchronousStateException.cs
- GlobalProxySelection.cs
- FactoryRecord.cs
- SQLInt64Storage.cs
- SymmetricKeyWrap.cs
- DiagnosticsConfigurationHandler.cs
- WebPartCatalogCloseVerb.cs
- PathFigureCollectionConverter.cs
- Root.cs
- DataTemplateSelector.cs
- TextTabProperties.cs
- ByteAnimation.cs
- DataBoundControlAdapter.cs
- DispatcherOperation.cs
- PageAsyncTaskManager.cs
- SerializerWriterEventHandlers.cs
- FontDifferentiator.cs
- WebPart.cs
- InheritedPropertyDescriptor.cs
- CacheManager.cs
- SeekStoryboard.cs
- ToolStripSettings.cs
- ObjectStateFormatter.cs
- XmlComplianceUtil.cs
- ToolStripDropTargetManager.cs
- MessageSecurityOverHttp.cs
- __Filters.cs
- HandledEventArgs.cs
- DetailsView.cs
- AvtEvent.cs
- CatalogZone.cs
- GeneralTransformGroup.cs
- FixedTextBuilder.cs
- System.Data.OracleClient_BID.cs
- SynchronizedInputPattern.cs
- RNGCryptoServiceProvider.cs
- AddressAccessDeniedException.cs
- ComponentEvent.cs
- CompModSwitches.cs
- ClientConfigurationHost.cs
- ContextConfiguration.cs
- DataViewSetting.cs
- Random.cs
- ThreadStaticAttribute.cs
- HScrollBar.cs
- DataSourceCacheDurationConverter.cs
- ImageResources.Designer.cs
- CacheEntry.cs
- CacheMode.cs
- WebPartEditVerb.cs
- PipelineModuleStepContainer.cs
- safelinkcollection.cs
- ObjectNotFoundException.cs
- basemetadatamappingvisitor.cs
- ToolStripSeparatorRenderEventArgs.cs
- ProxyGenerator.cs
- SafeHandles.cs
- RelationshipManager.cs
- ObjectDataSourceView.cs
- ReservationCollection.cs
- BooleanConverter.cs
- ProxyGenerator.cs
- FixedPageProcessor.cs
- EditorZone.cs
- FormClosingEvent.cs
- ToolStripDropDown.cs
- ContextQuery.cs
- CaseExpr.cs
- OdbcTransaction.cs
- UnsafeNativeMethods.cs
- Vector3D.cs
- TableItemStyle.cs
- DataServiceProviderWrapper.cs
- ProxyFragment.cs
- FormsAuthenticationConfiguration.cs
- SmtpCommands.cs
- BaseAppDomainProtocolHandler.cs
- OracleParameterBinding.cs
- EventManager.cs
- ManagementObjectCollection.cs
- Listbox.cs
- IERequestCache.cs
- OleDbPropertySetGuid.cs
- DataGridRow.cs
- PackWebRequest.cs
- OleDbRowUpdatingEvent.cs
- Inflater.cs
- TextViewDesigner.cs
- MediaPlayerState.cs
- ChannelServices.cs
- SqlDataSourceConfigureFilterForm.cs
- ParentUndoUnit.cs
- SymmetricKeyWrap.cs
- PageRanges.cs
- X509CertificateStore.cs
- DataGridColumnCollection.cs
- XmlSchemaChoice.cs
- WebControlParameterProxy.cs
- HttpAsyncResult.cs
- SafeRightsManagementPubHandle.cs