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
- RoleExceptions.cs
- Delegate.cs
- AuthorizationSection.cs
- Pool.cs
- DecoderFallback.cs
- ProfileModule.cs
- DispatcherSynchronizationContext.cs
- XmlElementAttribute.cs
- basemetadatamappingvisitor.cs
- CrossAppDomainChannel.cs
- RuleSetDialog.cs
- MimeTypeMapper.cs
- wgx_commands.cs
- webproxy.cs
- WebPartEditVerb.cs
- ComponentEditorPage.cs
- WindowsGraphics2.cs
- TableRowCollection.cs
- TrustLevel.cs
- URLString.cs
- AddInSegmentDirectoryNotFoundException.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- SQLMoney.cs
- SqlGatherProducedAliases.cs
- LineSegment.cs
- TextFormatterContext.cs
- Button.cs
- SoapMessage.cs
- WebPermission.cs
- ListGeneralPage.cs
- ClientApiGenerator.cs
- ExpandCollapsePatternIdentifiers.cs
- Console.cs
- Query.cs
- TransformerConfigurationWizardBase.cs
- UdpConstants.cs
- GPStream.cs
- ValueExpressions.cs
- RegexFCD.cs
- ObjectConverter.cs
- RealizationContext.cs
- RowsCopiedEventArgs.cs
- EllipseGeometry.cs
- PrimaryKeyTypeConverter.cs
- BindingList.cs
- PrePrepareMethodAttribute.cs
- TransactionManager.cs
- sqlmetadatafactory.cs
- TextBlock.cs
- XhtmlBasicLinkAdapter.cs
- ContextMenuService.cs
- PointConverter.cs
- DataStreams.cs
- StoreItemCollection.cs
- SqlDataSourceEnumerator.cs
- ConditionCollection.cs
- RegexTypeEditor.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- SerializationFieldInfo.cs
- HeaderedItemsControl.cs
- TableColumnCollectionInternal.cs
- EntityDescriptor.cs
- FlowLayoutPanel.cs
- TextMetrics.cs
- TcpStreams.cs
- WsiProfilesElementCollection.cs
- WebConfigurationManager.cs
- SubMenuStyleCollection.cs
- EventLogEntryCollection.cs
- HttpCapabilitiesSectionHandler.cs
- Library.cs
- OlePropertyStructs.cs
- XmlDictionaryWriter.cs
- StylusPointDescription.cs
- MenuItem.cs
- VisualBrush.cs
- SerializationFieldInfo.cs
- ImpersonateTokenRef.cs
- URLMembershipCondition.cs
- PreviewControlDesigner.cs
- FixedDocumentPaginator.cs
- ExpressionBindingCollection.cs
- CompModHelpers.cs
- TextAction.cs
- ToolStripTextBox.cs
- _PooledStream.cs
- LoginView.cs
- CompositionTarget.cs
- DataGridViewSortCompareEventArgs.cs
- CachedPathData.cs
- ProcessThreadCollection.cs
- SvcMapFile.cs
- StatementContext.cs
- XmlElementAttribute.cs
- AmbientValueAttribute.cs
- Maps.cs
- SqlCacheDependencyDatabaseCollection.cs
- Message.cs
- PropertyDescriptorComparer.cs
- RtfNavigator.cs