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
- ComponentDispatcher.cs
- ClientRequest.cs
- SystemWebSectionGroup.cs
- DecoderBestFitFallback.cs
- PropertyValueUIItem.cs
- FieldNameLookup.cs
- DelayedRegex.cs
- GetReadStreamResult.cs
- Repeater.cs
- Guid.cs
- DesignerPerfEventProvider.cs
- EnumBuilder.cs
- ProxyWebPart.cs
- ContentOperations.cs
- PreviewPrintController.cs
- XmlTextReaderImpl.cs
- CursorEditor.cs
- TextElementEnumerator.cs
- UIElement3D.cs
- ApplicationSettingsBase.cs
- ParallelRangeManager.cs
- HttpListener.cs
- Accessible.cs
- _NegoState.cs
- KeysConverter.cs
- SecurityChannel.cs
- CodeAttachEventStatement.cs
- PasswordDeriveBytes.cs
- ColumnMapVisitor.cs
- ClientSettings.cs
- AddInSegmentDirectoryNotFoundException.cs
- DomNameTable.cs
- SizeKeyFrameCollection.cs
- elementinformation.cs
- DataGridViewAutoSizeModeEventArgs.cs
- MethodCallTranslator.cs
- ToggleButtonAutomationPeer.cs
- TailPinnedEventArgs.cs
- TabletDeviceInfo.cs
- WSMessageEncoding.cs
- ActivitiesCollection.cs
- XsltLibrary.cs
- BoundingRectTracker.cs
- SupportingTokenBindingElement.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- RequestQueryProcessor.cs
- VirtualPathProvider.cs
- StrokeFIndices.cs
- PrintDialog.cs
- KnowledgeBase.cs
- RemotingServices.cs
- EventArgs.cs
- XmlUtil.cs
- FeatureAttribute.cs
- HttpCapabilitiesEvaluator.cs
- X509IssuerSerialKeyIdentifierClause.cs
- ConfigurationManager.cs
- HealthMonitoringSection.cs
- ViewUtilities.cs
- LabelAutomationPeer.cs
- Interfaces.cs
- QilReplaceVisitor.cs
- SspiHelper.cs
- FilterUserControlBase.cs
- safelink.cs
- __FastResourceComparer.cs
- EntityTypeEmitter.cs
- AesCryptoServiceProvider.cs
- HttpCacheVaryByContentEncodings.cs
- DataGridCell.cs
- ObjectSet.cs
- DataGridColumnCollection.cs
- ClientBuildManager.cs
- XslAst.cs
- ScrollBarAutomationPeer.cs
- CopyOnWriteList.cs
- UnsupportedPolicyOptionsException.cs
- DispatcherHookEventArgs.cs
- GenerateHelper.cs
- InstanceLockTracking.cs
- DeviceContext.cs
- DbQueryCommandTree.cs
- DataGridViewSortCompareEventArgs.cs
- UidPropertyAttribute.cs
- AccessDataSourceView.cs
- ConnectionModeReader.cs
- DbExpressionVisitor_TResultType.cs
- XmlQualifiedNameTest.cs
- MULTI_QI.cs
- CngAlgorithmGroup.cs
- XmlCDATASection.cs
- WebSysDescriptionAttribute.cs
- EncryptRequest.cs
- CacheMemory.cs
- GridErrorDlg.cs
- Point4D.cs
- XmlElementAttributes.cs
- SerializationInfoEnumerator.cs
- CompositeFontInfo.cs
- WebPartZone.cs