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
- TypeDescriptionProvider.cs
- DbConnectionHelper.cs
- TrustManager.cs
- StickyNoteHelper.cs
- ExclusiveCanonicalizationTransform.cs
- ChannelManager.cs
- MultipleFilterMatchesException.cs
- ScrollContentPresenter.cs
- ToolboxItemLoader.cs
- Slider.cs
- ClientCultureInfo.cs
- ThreadStaticAttribute.cs
- TableCellAutomationPeer.cs
- SQLStringStorage.cs
- ComponentEvent.cs
- NameNode.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- QueryableFilterRepeater.cs
- CompilerWrapper.cs
- DbProviderSpecificTypePropertyAttribute.cs
- StreamGeometry.cs
- Propagator.JoinPropagator.SubstitutingCloneVisitor.cs
- ProfilePropertySettingsCollection.cs
- SupportsEventValidationAttribute.cs
- SmiXetterAccessMap.cs
- MatrixConverter.cs
- IfJoinedCondition.cs
- XmlReturnWriter.cs
- TypeSchema.cs
- PageSettings.cs
- PageHandlerFactory.cs
- AgileSafeNativeMemoryHandle.cs
- ExtendedProtectionPolicyElement.cs
- ColumnBinding.cs
- WizardPanel.cs
- ProjectionPath.cs
- CheckBoxRenderer.cs
- ServiceHostingEnvironmentSection.cs
- Math.cs
- WCFModelStrings.Designer.cs
- MailSettingsSection.cs
- BindingContext.cs
- Operator.cs
- Int64KeyFrameCollection.cs
- Part.cs
- TextDpi.cs
- PathFigure.cs
- FixUpCollection.cs
- VerificationAttribute.cs
- KeyboardEventArgs.cs
- MoveSizeWinEventHandler.cs
- EntityRecordInfo.cs
- Matrix3D.cs
- WindowsListView.cs
- Properties.cs
- ResourceReferenceKeyNotFoundException.cs
- DataGridViewSortCompareEventArgs.cs
- BuildProviderCollection.cs
- Rectangle.cs
- TempFiles.cs
- CapabilitiesUse.cs
- MatrixAnimationUsingPath.cs
- Debug.cs
- IgnoreSectionHandler.cs
- TileModeValidation.cs
- OdbcConnection.cs
- DrawingAttributeSerializer.cs
- EntityClassGenerator.cs
- XmlSerializationGeneratedCode.cs
- _AcceptOverlappedAsyncResult.cs
- DocumentGridPage.cs
- XmlDataLoader.cs
- ExtentJoinTreeNode.cs
- ListCardsInFileRequest.cs
- TextDpi.cs
- ItemsPanelTemplate.cs
- RenderOptions.cs
- SignatureHelper.cs
- NonBatchDirectoryCompiler.cs
- DataColumn.cs
- ToolStripProgressBar.cs
- LayoutEngine.cs
- SoapExtension.cs
- infer.cs
- XMLSyntaxException.cs
- ClockController.cs
- SrgsItemList.cs
- Serializer.cs
- SectionUpdates.cs
- Util.cs
- WindowsTooltip.cs
- HostingPreferredMapPath.cs
- CodeChecksumPragma.cs
- _ConnectionGroup.cs
- BindingBase.cs
- Serializer.cs
- StreamSecurityUpgradeInitiator.cs
- GPRECTF.cs
- FixedSOMPageElement.cs
- SamlAuthenticationClaimResource.cs