Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / UIAutomation / UIAutomationClient / MS / Internal / Automation / AutomationPatternInfo.cs / 1305600 / AutomationPatternInfo.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: class containing information about an automation property // // History: // 06/04/2003 : BrendanM Ported to WCP // //--------------------------------------------------------------------------- using System; using System.Windows.Automation; namespace MS.Internal.Automation { // struct containing information about an automation property internal delegate object WrapObjectClientSide(AutomationElement el, SafePatternHandle hPattern, bool cached); internal class AutomationPatternInfo { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors public AutomationPatternInfo( AutomationPattern id, AutomationProperty [ ] properties, WrapObjectClientSide clientSideWrapper ) { _id = id; _properties = properties; _clientSideWrapper = clientSideWrapper; } #endregion Constructors //------------------------------------------------------ // // Internal Properties // //----------------------------------------------------- #region Internal Properties internal AutomationPattern ID { get { return _id; } } internal AutomationProperty [ ] Properties { get { return _properties; } } internal WrapObjectClientSide ClientSideWrapper { get { return _clientSideWrapper; } } #endregion Internal Properties //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ #region Private Fields private AutomationPattern _id; private AutomationProperty [ ] _properties; private WrapObjectClientSide _clientSideWrapper; #endregion Private Fields } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: class containing information about an automation property // // History: // 06/04/2003 : BrendanM Ported to WCP // //--------------------------------------------------------------------------- using System; using System.Windows.Automation; namespace MS.Internal.Automation { // struct containing information about an automation property internal delegate object WrapObjectClientSide(AutomationElement el, SafePatternHandle hPattern, bool cached); internal class AutomationPatternInfo { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors public AutomationPatternInfo( AutomationPattern id, AutomationProperty [ ] properties, WrapObjectClientSide clientSideWrapper ) { _id = id; _properties = properties; _clientSideWrapper = clientSideWrapper; } #endregion Constructors //------------------------------------------------------ // // Internal Properties // //----------------------------------------------------- #region Internal Properties internal AutomationPattern ID { get { return _id; } } internal AutomationProperty [ ] Properties { get { return _properties; } } internal WrapObjectClientSide ClientSideWrapper { get { return _clientSideWrapper; } } #endregion Internal Properties //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ #region Private Fields private AutomationPattern _id; private AutomationProperty [ ] _properties; private WrapObjectClientSide _clientSideWrapper; #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
- DispatcherObject.cs
- BitStack.cs
- PartitionerStatic.cs
- FixedHighlight.cs
- Viewport2DVisual3D.cs
- InkSerializer.cs
- SourceFileBuildProvider.cs
- TransformDescriptor.cs
- ValueHandle.cs
- GridEntry.cs
- XmlDictionaryReaderQuotas.cs
- BindingGroup.cs
- KoreanLunisolarCalendar.cs
- WizardStepBase.cs
- SqlDataSourceEnumerator.cs
- PeerNearMe.cs
- AnnotationResource.cs
- ArraySortHelper.cs
- TemplateBamlTreeBuilder.cs
- AssemblyNameEqualityComparer.cs
- GeometryModel3D.cs
- VSWCFServiceContractGenerator.cs
- TimelineClockCollection.cs
- MetadataCache.cs
- LayoutDump.cs
- OptimisticConcurrencyException.cs
- MouseButton.cs
- WindowsFormsHostAutomationPeer.cs
- DirectoryObjectSecurity.cs
- ItemAutomationPeer.cs
- ObjectDataSourceEventArgs.cs
- WindowsGraphics2.cs
- Axis.cs
- SafeRightsManagementSessionHandle.cs
- MarkedHighlightComponent.cs
- DiagnosticTrace.cs
- BasicHttpMessageCredentialType.cs
- UnsafeNativeMethods.cs
- ProjectionQueryOptionExpression.cs
- DataTemplate.cs
- EmptyEnumerable.cs
- GridViewRowCollection.cs
- ConnectionsZone.cs
- BitmapEffectDrawingContextState.cs
- IRCollection.cs
- SmiContextFactory.cs
- SerialErrors.cs
- TdsEnums.cs
- PreservationFileReader.cs
- XamlInt32CollectionSerializer.cs
- LambdaCompiler.Lambda.cs
- Comparer.cs
- ConfigurationConverterBase.cs
- SessionParameter.cs
- ExtendLockCommand.cs
- CallbackHandler.cs
- COSERVERINFO.cs
- DataGridToolTip.cs
- BuildProvidersCompiler.cs
- DataStorage.cs
- SiteMapHierarchicalDataSourceView.cs
- LongTypeConverter.cs
- SqlParameterCollection.cs
- ListViewGroupItemCollection.cs
- Comparer.cs
- QueryOptionExpression.cs
- Vector3D.cs
- BypassElementCollection.cs
- DynamicUpdateCommand.cs
- EndOfStreamException.cs
- PrimitiveSchema.cs
- BindingExpression.cs
- sqlpipe.cs
- QilVisitor.cs
- FileDialog_Vista_Interop.cs
- ToolStripOverflowButton.cs
- PrinterUnitConvert.cs
- TypeDelegator.cs
- PartialCachingAttribute.cs
- X509ChainElement.cs
- ManagementOperationWatcher.cs
- DataSourceHelper.cs
- SerializationException.cs
- MediaElement.cs
- Timeline.cs
- ComboBox.cs
- ContentPathSegment.cs
- XmlSchemaAny.cs
- Base64Encoder.cs
- TextEffectCollection.cs
- OracleBinary.cs
- ObjectListCommandsPage.cs
- clipboard.cs
- StyleHelper.cs
- WindowInteropHelper.cs
- WebPartTransformerCollection.cs
- Rect3DValueSerializer.cs
- BaseResourcesBuildProvider.cs
- CustomCategoryAttribute.cs
- NotSupportedException.cs