Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / UIAutomation / UIAutomationTypes / System / Windows / Automation / ExpandCollapsePatternIdentifiers.cs / 1 / ExpandCollapsePatternIdentifiers.cs
//----------------------------------------------------------------------------
//
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//
//
// Description: Automation Identifiers for ExpandCollapse Pattern
//
// History:
// 04/15/2005 : MKarr Added
//
//---------------------------------------------------------------------------
using System;
using MS.Internal.Automation;
using System.Runtime.InteropServices;
namespace System.Windows.Automation
{
///
/// Used by ExpandCollapse pattern to indicate expanded/collapsed state
///
[ComVisible(true)]
[Guid("76d12d7e-b227-4417-9ce2-42642ffa896a")]
#if (NO_INTERNAL_COMPILE_BUG1080665)
internal enum ExpandCollapseState
#else
public enum ExpandCollapseState
#endif
{
/// No children are showing
Collapsed,
/// All children are showing
Expanded,
/// Not all children are showing
PartiallyExpanded,
/// Does not expand or collapse
LeafNode
}
///wrapper class for ExpandCollapse pattern
#if (INTERNAL_COMPILE)
internal static class ExpandCollapsePatternIdentifiers
#else
public static class ExpandCollapsePatternIdentifiers
#endif
{
//-----------------------------------------------------
//
// Public Constants / Readonly Fields
//
//-----------------------------------------------------
#region Public Constants and Readonly Fields
/// Scroll pattern
public static readonly AutomationPattern Pattern = AutomationPattern.Register(AutomationIdentifierGuids.ExpandCollapse_Pattern, "ExpandCollapsePatternIdentifiers.Pattern");
/// Property ID: ExpandCollapseState - Current Collapsed or Expanded state
public static readonly AutomationProperty ExpandCollapseStateProperty = AutomationProperty.Register(AutomationIdentifierGuids.ExpandCollapse_State_Property, "ExpandCollapsePatternIdentifiers.ExpandCollapseStateProperty");
#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 ExpandCollapse Pattern
//
// History:
// 04/15/2005 : MKarr Added
//
//---------------------------------------------------------------------------
using System;
using MS.Internal.Automation;
using System.Runtime.InteropServices;
namespace System.Windows.Automation
{
///
/// Used by ExpandCollapse pattern to indicate expanded/collapsed state
///
[ComVisible(true)]
[Guid("76d12d7e-b227-4417-9ce2-42642ffa896a")]
#if (NO_INTERNAL_COMPILE_BUG1080665)
internal enum ExpandCollapseState
#else
public enum ExpandCollapseState
#endif
{
/// No children are showing
Collapsed,
/// All children are showing
Expanded,
/// Not all children are showing
PartiallyExpanded,
/// Does not expand or collapse
LeafNode
}
///wrapper class for ExpandCollapse pattern
#if (INTERNAL_COMPILE)
internal static class ExpandCollapsePatternIdentifiers
#else
public static class ExpandCollapsePatternIdentifiers
#endif
{
//-----------------------------------------------------
//
// Public Constants / Readonly Fields
//
//-----------------------------------------------------
#region Public Constants and Readonly Fields
/// Scroll pattern
public static readonly AutomationPattern Pattern = AutomationPattern.Register(AutomationIdentifierGuids.ExpandCollapse_Pattern, "ExpandCollapsePatternIdentifiers.Pattern");
/// Property ID: ExpandCollapseState - Current Collapsed or Expanded state
public static readonly AutomationProperty ExpandCollapseStateProperty = AutomationProperty.Register(AutomationIdentifierGuids.ExpandCollapse_State_Property, "ExpandCollapsePatternIdentifiers.ExpandCollapseStateProperty");
#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
- RegistrySecurity.cs
- DeferrableContentConverter.cs
- HttpListenerRequest.cs
- ValidationUtility.cs
- WorkflowDataContext.cs
- SqlTypeSystemProvider.cs
- WriteFileContext.cs
- Matrix.cs
- DispatcherOperation.cs
- CodeBinaryOperatorExpression.cs
- EasingKeyFrames.cs
- QuotedPrintableStream.cs
- IOException.cs
- ToolStripDesignerUtils.cs
- OletxCommittableTransaction.cs
- UrlAuthorizationModule.cs
- EventRouteFactory.cs
- RelationshipConstraintValidator.cs
- GridLengthConverter.cs
- HistoryEventArgs.cs
- GridViewCommandEventArgs.cs
- PropertyOverridesTypeEditor.cs
- ExpressionBuilderContext.cs
- ELinqQueryState.cs
- CollectionDataContractAttribute.cs
- MsmqMessageProperty.cs
- TextSelection.cs
- Pointer.cs
- EmptyReadOnlyDictionaryInternal.cs
- CreateUserWizard.cs
- ObjectQueryProvider.cs
- DialogResultConverter.cs
- ScopeCollection.cs
- MatrixAnimationUsingKeyFrames.cs
- GenerateTemporaryTargetAssembly.cs
- Label.cs
- FileVersion.cs
- precedingsibling.cs
- Tracer.cs
- autovalidator.cs
- Debug.cs
- LocalizationCodeDomSerializer.cs
- ServiceNotStartedException.cs
- JoinTreeNode.cs
- BCryptNative.cs
- ScrollItemProviderWrapper.cs
- PathFigureCollection.cs
- TypographyProperties.cs
- DetailsView.cs
- SingleObjectCollection.cs
- SelectionProcessor.cs
- PageSettings.cs
- printdlgexmarshaler.cs
- ScriptDescriptor.cs
- CompoundFileReference.cs
- NameValueConfigurationElement.cs
- MemoryRecordBuffer.cs
- GlyphTypeface.cs
- EnumConverter.cs
- XamlReaderHelper.cs
- ChooseAction.cs
- StringFunctions.cs
- TextRangeEditTables.cs
- SqlClientMetaDataCollectionNames.cs
- keycontainerpermission.cs
- BamlWriter.cs
- TableHeaderCell.cs
- LZCodec.cs
- ConfigurationElementCollection.cs
- RegexInterpreter.cs
- AnnotationHighlightLayer.cs
- HtmlInputFile.cs
- Rect.cs
- _ProxyChain.cs
- LineMetrics.cs
- Directory.cs
- RecipientInfo.cs
- Expressions.cs
- ScrollViewer.cs
- ExtractorMetadata.cs
- Point4D.cs
- TableRow.cs
- ServiceHttpModule.cs
- ModelItemCollectionImpl.cs
- SpecialNameAttribute.cs
- VirtualDirectoryMapping.cs
- XmlLinkedNode.cs
- TokenBasedSet.cs
- GridViewColumnCollection.cs
- InternalReceiveMessage.cs
- CodeCompiler.cs
- ToolStripButton.cs
- EdmItemCollection.cs
- SafeNativeMethods.cs
- DataKeyArray.cs
- LayoutSettings.cs
- SoapIncludeAttribute.cs
- ECDiffieHellmanCngPublicKey.cs
- ByteKeyFrameCollection.cs
- SqlConnectionPoolProviderInfo.cs