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
- ConnectionManagementElementCollection.cs
- ImageAnimator.cs
- XmlObjectSerializerReadContextComplexJson.cs
- RecognizerStateChangedEventArgs.cs
- WebPartPersonalization.cs
- PeerNodeTraceRecord.cs
- ServiceTimeoutsBehavior.cs
- MappingException.cs
- WebReferencesBuildProvider.cs
- ActivityExecutionFilter.cs
- xmlglyphRunInfo.cs
- XmlSchemaImporter.cs
- HttpHandlersSection.cs
- WebExceptionStatus.cs
- LockedBorderGlyph.cs
- FlowchartStart.xaml.cs
- DateTimeOffsetStorage.cs
- FormsIdentity.cs
- CapiNative.cs
- RowType.cs
- cryptoapiTransform.cs
- SpecialNameAttribute.cs
- ClientOptions.cs
- RemotingException.cs
- WebFaultClientMessageInspector.cs
- ExecutorLocksHeldException.cs
- XamlReader.cs
- ExcCanonicalXml.cs
- EventListener.cs
- Token.cs
- SmiMetaDataProperty.cs
- ItemType.cs
- Rotation3DAnimationUsingKeyFrames.cs
- CalendarItem.cs
- MetadataExchangeClient.cs
- FileRecordSequenceCompletedAsyncResult.cs
- DPAPIProtectedConfigurationProvider.cs
- StrokeNodeOperations2.cs
- AssemblyBuilderData.cs
- SmtpNtlmAuthenticationModule.cs
- DropSourceBehavior.cs
- RunInstallerAttribute.cs
- FunctionQuery.cs
- EntityDataSourceSelectedEventArgs.cs
- InputScopeManager.cs
- InvalidContentTypeException.cs
- LogLogRecordEnumerator.cs
- Propagator.Evaluator.cs
- BaseDataBoundControl.cs
- SqlProviderUtilities.cs
- BindingList.cs
- EditorPartCollection.cs
- UInt16.cs
- SortableBindingList.cs
- SecurityResources.cs
- UriParserTemplates.cs
- AnnotationResourceCollection.cs
- BitmapEffectrendercontext.cs
- TimersDescriptionAttribute.cs
- _UriSyntax.cs
- versioninfo.cs
- TemplateControl.cs
- Journal.cs
- VScrollBar.cs
- Mouse.cs
- NestedContainer.cs
- ColorContext.cs
- LicenseProviderAttribute.cs
- NestedContainer.cs
- StateManagedCollection.cs
- FirstQueryOperator.cs
- AutomationTextAttribute.cs
- SafeProcessHandle.cs
- SharedPersonalizationStateInfo.cs
- EndpointDesigner.cs
- HttpListener.cs
- SQLGuid.cs
- ScalarType.cs
- FunctionNode.cs
- UnaryNode.cs
- RelativeSource.cs
- InlineUIContainer.cs
- CloudCollection.cs
- RootDesignerSerializerAttribute.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- SoapInteropTypes.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- JapaneseLunisolarCalendar.cs
- COM2ExtendedTypeConverter.cs
- PathFigureCollection.cs
- ClientTargetSection.cs
- SystemIPInterfaceStatistics.cs
- PolicyDesigner.cs
- HtmlWindow.cs
- InputLanguage.cs
- Button.cs
- AudioLevelUpdatedEventArgs.cs
- IntSecurity.cs
- TextCompositionEventArgs.cs
- HTTPAPI_VERSION.cs