TablePatternIdentifiers.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / AccessibleTech / longhorn / Automation / UIAutomationTypes / System / Windows / Automation / TablePatternIdentifiers.cs / 1 / TablePatternIdentifiers.cs

                            //---------------------------------------------------------------------------- 
//
// 
//    Copyright (C) Microsoft Corporation.  All rights reserved.
//  
//
// 
// Description: Automation Identifiers for Table Pattern 
//
// History: 
//  04/15/2005 : [....] Added
//
//---------------------------------------------------------------------------
 
using System;
using MS.Internal.Automation; 
using System.Runtime.InteropServices; 

namespace System.Windows.Automation 
{
    /// 
    ///  Is the data data in this table best present by row or column
    ///  
    [ComVisible(true)]
    [Guid("15fdf2e2-9847-41cd-95dd-510612a025ea")] 
#if (NO_INTERNAL_COMPILE_BUG1080665) 
    internal enum RowOrColumnMajor
#else 
    public enum RowOrColumnMajor
#endif
    {
        /// Data in the table should be read row by row 
        RowMajor,
        /// Data in the table should be read column by column 
        ColumnMajor, 
        /// There is no way to determine the best way to present the data
        Indeterminate, 
    }

    /// 
    /// Identifies a grid that has header information. 
    /// 
#if (INTERNAL_COMPILE) 
    internal static class TablePatternIdentifiers 
#else
    public static class TablePatternIdentifiers 
#endif
    {
        //-----------------------------------------------------
        // 
        //  Public Constants / Readonly Fields
        // 
        //----------------------------------------------------- 

        #region Public Constants and Readonly Fields 

        /// Table pattern
        public static readonly AutomationPattern Pattern = AutomationPattern.Register(AutomationIdentifierGuids.Table_Pattern, "TablePatternIdentifiers.Pattern");
 
        /// Property ID: RowHeaders - Collection of all row headers for this table
        public static readonly AutomationProperty RowHeadersProperty = AutomationProperty.Register(AutomationIdentifierGuids.Table_RowHeaders_Property, "TablePatternIdentifiers.RowHeadersProperty"); 
 
        /// Property ID: ColumnHeaders - Collection of all column headers for this table
        public static readonly AutomationProperty ColumnHeadersProperty = AutomationProperty.Register(AutomationIdentifierGuids.Table_ColumnHeaders_Property, "TablePatternIdentifiers.ColumnHeadersProperty"); 

        /// Property ID: RowOrColumnMajor - Indicates if the data is best presented by row or column
        public static readonly AutomationProperty RowOrColumnMajorProperty = AutomationProperty.Register(AutomationIdentifierGuids.Table_RowOrColumnMajor_Property, "TablePatternIdentifiers.RowOrColumnMajorProperty");
 
        #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

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK