Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / UIAutomation / UIAutomationTypes / System / Windows / Automation / SelectionPatternIdentifiers.cs / 1 / SelectionPatternIdentifiers.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Automation Identifiers for Selection Pattern // // History: // 04/15/2005 : MKarr Added // //--------------------------------------------------------------------------- using System; using System.Collections; using System.ComponentModel; using MS.Internal.Automation; namespace System.Windows.Automation { ////// Class representing containers that manage selection. /// #if (INTERNAL_COMPILE) internal static class SelectionPatternIdentifiers #else public static class SelectionPatternIdentifiers #endif { //----------------------------------------------------- // // Public Constants / Readonly Fields // //----------------------------------------------------- #region Public Constants and Readonly Fields ///Selection pattern public static readonly AutomationPattern Pattern = AutomationPattern.Register(AutomationIdentifierGuids.Selection_Pattern, "SelectionPatternIdentifiers.Pattern"); ///Get the currently selected elements public static readonly AutomationProperty SelectionProperty = AutomationProperty.Register(AutomationIdentifierGuids.Selection_Selection_Property, "SelectionPatternIdentifiers.SelectionProperty"); ///Indicates whether the control allows more than one element to be selected public static readonly AutomationProperty CanSelectMultipleProperty = AutomationProperty.Register(AutomationIdentifierGuids.Selection_CanSelectMultiple_Property, "SelectionPatternIdentifiers.CanSelectMultipleProperty"); ///Indicates whether the control requires at least one element to be selected public static readonly AutomationProperty IsSelectionRequiredProperty = AutomationProperty.Register(AutomationIdentifierGuids.Selection_IsSelectionRequired_Property, "SelectionPatternIdentifiers.IsSelectionRequiredProperty"); ////// Event ID: SelectionInvalidated - indicates that selection changed in a selection conainer. /// sourceElement refers to the selection container /// public static readonly AutomationEvent InvalidatedEvent = AutomationEvent.Register(AutomationIdentifierGuids.Selection_Invalidated_Event, "SelectionPatternIdentifiers.InvalidatedEvent"); #endregion Public Constants and Readonly Fields } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Automation Identifiers for Selection Pattern // // History: // 04/15/2005 : MKarr Added // //--------------------------------------------------------------------------- using System; using System.Collections; using System.ComponentModel; using MS.Internal.Automation; namespace System.Windows.Automation { ////// Class representing containers that manage selection. /// #if (INTERNAL_COMPILE) internal static class SelectionPatternIdentifiers #else public static class SelectionPatternIdentifiers #endif { //----------------------------------------------------- // // Public Constants / Readonly Fields // //----------------------------------------------------- #region Public Constants and Readonly Fields ///Selection pattern public static readonly AutomationPattern Pattern = AutomationPattern.Register(AutomationIdentifierGuids.Selection_Pattern, "SelectionPatternIdentifiers.Pattern"); ///Get the currently selected elements public static readonly AutomationProperty SelectionProperty = AutomationProperty.Register(AutomationIdentifierGuids.Selection_Selection_Property, "SelectionPatternIdentifiers.SelectionProperty"); ///Indicates whether the control allows more than one element to be selected public static readonly AutomationProperty CanSelectMultipleProperty = AutomationProperty.Register(AutomationIdentifierGuids.Selection_CanSelectMultiple_Property, "SelectionPatternIdentifiers.CanSelectMultipleProperty"); ///Indicates whether the control requires at least one element to be selected public static readonly AutomationProperty IsSelectionRequiredProperty = AutomationProperty.Register(AutomationIdentifierGuids.Selection_IsSelectionRequired_Property, "SelectionPatternIdentifiers.IsSelectionRequiredProperty"); ////// Event ID: SelectionInvalidated - indicates that selection changed in a selection conainer. /// sourceElement refers to the selection container /// public static readonly AutomationEvent InvalidatedEvent = AutomationEvent.Register(AutomationIdentifierGuids.Selection_Invalidated_Event, "SelectionPatternIdentifiers.InvalidatedEvent"); #endregion Public Constants and Readonly 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
- UnsafeNativeMethods.cs
- ParagraphVisual.cs
- TableStyle.cs
- DbDataAdapter.cs
- BitmapEffectrendercontext.cs
- TraversalRequest.cs
- QuaternionAnimation.cs
- SqlDataSourceQuery.cs
- UpdateRecord.cs
- TagMapCollection.cs
- CompilerCollection.cs
- Pkcs9Attribute.cs
- MarshalByRefObject.cs
- dbenumerator.cs
- DiscoveryServerProtocol.cs
- unsafenativemethodstextservices.cs
- OutputCacheSettingsSection.cs
- Point4DConverter.cs
- GridSplitterAutomationPeer.cs
- MethodImplAttribute.cs
- FileIOPermission.cs
- OleDbConnectionFactory.cs
- Normalization.cs
- HijriCalendar.cs
- AddInContractAttribute.cs
- X509ThumbprintKeyIdentifierClause.cs
- XmlSchemaComplexContentRestriction.cs
- CalendarButton.cs
- FontFamilyValueSerializer.cs
- ObsoleteAttribute.cs
- RemoteWebConfigurationHost.cs
- EntityDataSourceConfigureObjectContext.cs
- HtmlHistory.cs
- XsdDuration.cs
- DataGridViewCell.cs
- TagPrefixAttribute.cs
- MonthCalendar.cs
- XmlEventCache.cs
- AlgoModule.cs
- SetterBase.cs
- InputLanguageSource.cs
- GroupQuery.cs
- StringFormat.cs
- MultiTargetingUtil.cs
- UnknownWrapper.cs
- XmlWellformedWriter.cs
- WorkflowMarkupSerializerMapping.cs
- DataBinding.cs
- RijndaelManaged.cs
- Vector3DCollection.cs
- DrawTreeNodeEventArgs.cs
- LoadMessageLogger.cs
- XmlProcessingInstruction.cs
- RepeaterDataBoundAdapter.cs
- MSHTMLHost.cs
- SqlServices.cs
- DataKeyPropertyAttribute.cs
- URI.cs
- ReadOnlyHierarchicalDataSource.cs
- MouseEventArgs.cs
- DataBoundControlAdapter.cs
- MDIClient.cs
- PlanCompilerUtil.cs
- precedingquery.cs
- JsonXmlDataContract.cs
- JapaneseCalendar.cs
- NativeCppClassAttribute.cs
- DataGridViewCellCancelEventArgs.cs
- FontWeightConverter.cs
- OleServicesContext.cs
- OleDbConnection.cs
- FunctionDescription.cs
- SqlVisitor.cs
- HttpListenerRequest.cs
- TypeNameConverter.cs
- SqlDataSourceCache.cs
- ManagementClass.cs
- FormView.cs
- StateItem.cs
- CompoundFileStreamReference.cs
- IntegerValidator.cs
- PageOrientation.cs
- RichTextBox.cs
- FormViewInsertEventArgs.cs
- XmlILOptimizerVisitor.cs
- BasePropertyDescriptor.cs
- ListViewItemMouseHoverEvent.cs
- DbBuffer.cs
- WebServiceClientProxyGenerator.cs
- FileSecurity.cs
- DocumentApplication.cs
- XPathMultyIterator.cs
- Matrix.cs
- ToolTipAutomationPeer.cs
- XmlBufferReader.cs
- TimeZone.cs
- ISFTagAndGuidCache.cs
- WebPartManagerDesigner.cs
- ClientBuildManager.cs
- DataIdProcessor.cs