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
- SelectorItemAutomationPeer.cs
- JsonDeserializer.cs
- Span.cs
- DirtyTextRange.cs
- NavigationExpr.cs
- OdbcDataReader.cs
- BooleanSwitch.cs
- LZCodec.cs
- CombinedGeometry.cs
- Attributes.cs
- COM2PropertyDescriptor.cs
- processwaithandle.cs
- CompilerResults.cs
- TranslateTransform.cs
- MenuBindingsEditorForm.cs
- Vector.cs
- ScrollItemProviderWrapper.cs
- login.cs
- MetadataItemEmitter.cs
- GlyphsSerializer.cs
- PropertyInformationCollection.cs
- ReachDocumentReferenceSerializer.cs
- ResourcePermissionBaseEntry.cs
- PrtCap_Reader.cs
- RuleSettingsCollection.cs
- AssociationType.cs
- ThreadBehavior.cs
- WindowShowOrOpenTracker.cs
- TextServicesCompartmentContext.cs
- SolidBrush.cs
- TemplateControl.cs
- ScriptControlDescriptor.cs
- FixedSOMSemanticBox.cs
- IndexOutOfRangeException.cs
- WindowsAuthenticationModule.cs
- BitArray.cs
- SimpleMailWebEventProvider.cs
- DesignSurfaceCollection.cs
- HtmlInputControl.cs
- CapacityStreamGeometryContext.cs
- CommandHelpers.cs
- Wildcard.cs
- _IPv4Address.cs
- ServiceAuthorizationBehavior.cs
- XmlSchemaType.cs
- VirtualizingStackPanel.cs
- BindingNavigator.cs
- SoundPlayer.cs
- PropertyManager.cs
- CounterSample.cs
- CodeExporter.cs
- WindowHideOrCloseTracker.cs
- PageRequestManager.cs
- DataReceivedEventArgs.cs
- EntityContainerEmitter.cs
- Tracer.cs
- DataBoundLiteralControl.cs
- Source.cs
- PointCollection.cs
- RadioButton.cs
- IntegrationExceptionEventArgs.cs
- XmlSchemaSimpleContent.cs
- Single.cs
- TypeSystemHelpers.cs
- QueryStringParameter.cs
- Rect3D.cs
- GetWinFXPath.cs
- HtmlMeta.cs
- CollectionConverter.cs
- XmlSchema.cs
- DetailsViewPagerRow.cs
- AccessViolationException.cs
- ResumeStoryboard.cs
- Typography.cs
- SystemTcpConnection.cs
- WebEncodingValidator.cs
- PropertyChangingEventArgs.cs
- AutomationFocusChangedEventArgs.cs
- PageWrapper.cs
- ProjectionQueryOptionExpression.cs
- wgx_sdk_version.cs
- ConditionalBranch.cs
- RouteCollection.cs
- BitmapCacheBrush.cs
- DesignerGeometryHelper.cs
- CommandHelpers.cs
- EnvironmentPermission.cs
- CodeAttachEventStatement.cs
- DoubleLinkListEnumerator.cs
- ResourceContainer.cs
- RectAnimationBase.cs
- OracleColumn.cs
- UntypedNullExpression.cs
- CustomBindingCollectionElement.cs
- InstanceLockedException.cs
- BindValidationContext.cs
- VisualTreeHelper.cs
- Rules.cs
- SchemaManager.cs
- SoapSchemaExporter.cs