Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / AccessibleTech / longhorn / Automation / UIAutomationClient / MS / Internal / Automation / AutomationPropertyInfo.cs / 1 / AutomationPropertyInfo.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: class containing information about an automation property // // History: // 06/04/2003 : [....] Ported to WCP // //--------------------------------------------------------------------------- using System; using System.Windows.Automation; namespace MS.Internal.Automation { // This is used to cast the VARIANT-based objects that we get back from the unmanaged // API to our own types - eg enums need to be cast from int VT_I4s to real enums. internal delegate object AutomationPropertyConverter( object valueAsObject ); // class containing information about an automation property internal class AutomationPropertyInfo { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors internal AutomationPropertyInfo( AutomationPropertyConverter converter, AutomationProperty id, Type type, object defaultValue ) { _id = id; _type = type; _defaultValue = defaultValue; _converter = converter; } #endregion Constructors //------------------------------------------------------ // // Internal Properties // //----------------------------------------------------- #region Internal Properties internal AutomationProperty ID { get { return _id; } } internal object DefaultValue { get { return _defaultValue; } } internal AutomationPropertyConverter ObjectConverter { get { return _converter; } } internal Type Type { get { return _type; } } #endregion Internal Properties //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ #region Private Fields private AutomationProperty _id; private Type _type; private object _defaultValue; private AutomationPropertyConverter _converter; #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
- Bind.cs
- DataContractJsonSerializer.cs
- AsymmetricAlgorithm.cs
- MaskedTextBoxDesignerActionList.cs
- Options.cs
- TemplateField.cs
- SwitchExpression.cs
- DbConnectionPoolIdentity.cs
- DataSourceHelper.cs
- DocumentPageTextView.cs
- DeploymentSection.cs
- ClientSideQueueItem.cs
- CorrelationManager.cs
- TimeIntervalCollection.cs
- PackageProperties.cs
- ChameleonKey.cs
- PlatformNotSupportedException.cs
- DBProviderConfigurationHandler.cs
- UriSection.cs
- HwndSourceKeyboardInputSite.cs
- RelationshipEnd.cs
- Subtract.cs
- NamedPipeWorkerProcess.cs
- PersonalizationStateInfoCollection.cs
- SrgsElement.cs
- Typeface.cs
- XmlNamedNodeMap.cs
- RenamedEventArgs.cs
- _DisconnectOverlappedAsyncResult.cs
- SqlConnectionFactory.cs
- PersonalizableTypeEntry.cs
- HybridDictionary.cs
- ColumnResizeAdorner.cs
- XmlRawWriter.cs
- AttributeTable.cs
- InfoCardX509Validator.cs
- XmlSchemaFacet.cs
- SessionStateContainer.cs
- adornercollection.cs
- DateTimeUtil.cs
- regiisutil.cs
- TextBreakpoint.cs
- HtmlElementEventArgs.cs
- LocalsItemDescription.cs
- HtmlAnchor.cs
- BitmapDownload.cs
- TableLayoutRowStyleCollection.cs
- SoapReflectionImporter.cs
- ExtensibleClassFactory.cs
- XmlCharacterData.cs
- SpeechSeg.cs
- SystemUnicastIPAddressInformation.cs
- ConnectionInterfaceCollection.cs
- ReverseInheritProperty.cs
- DrawingImage.cs
- HeaderFilter.cs
- ConvertEvent.cs
- WindowsImpersonationContext.cs
- UnsafeNetInfoNativeMethods.cs
- PagerSettings.cs
- UnicodeEncoding.cs
- ExpressionBuilder.cs
- PrePrepareMethodAttribute.cs
- PageContentCollection.cs
- RowSpanVector.cs
- COM2PictureConverter.cs
- LassoHelper.cs
- StateBag.cs
- WriterOutput.cs
- SqlMethodTransformer.cs
- NameValueSectionHandler.cs
- Geometry.cs
- FixedBufferAttribute.cs
- ThemeInfoAttribute.cs
- returneventsaver.cs
- SvcMapFileSerializer.cs
- SqlUDTStorage.cs
- UrlMappingsModule.cs
- TaskFileService.cs
- BulletedList.cs
- SchemaExporter.cs
- ItemContainerGenerator.cs
- GeometryValueSerializer.cs
- _NtlmClient.cs
- WebSysDescriptionAttribute.cs
- MsmqProcessProtocolHandler.cs
- WS2007HttpBindingElement.cs
- PlacementWorkspace.cs
- HtmlAnchor.cs
- AddressingVersion.cs
- XNameConverter.cs
- DataViewListener.cs
- BmpBitmapEncoder.cs
- MarkerProperties.cs
- DragDropHelper.cs
- FileLoadException.cs
- SoapHeader.cs
- X509Certificate2.cs
- XmlElementElement.cs
- SiteMapNodeCollection.cs