コード例 #1
0
        // ------------------------------------------------------
        //
        //  Constructors
        //
        //------------------------------------------------------

        #region Constructors

        // Contructor for SuperGrid provider class.
        internal SuperGridProvider(IntPtr hwnd, ProxyFragment parent, Accessible acc)
            : base(hwnd, parent, 0)
        {
            _fIsKeyboardFocusable = true;
            _acc = acc;

            _cControlType = ControlType.Custom;
        }
コード例 #2
0
        // ------------------------------------------------------
        //
        // Constructors
        //
        // ------------------------------------------------------

        #region Constructors

        internal WindowsPager(IntPtr hwnd, ProxyFragment parent, int item)
            : base(hwnd, parent, item)
        {
            // Set the strings to return properly the properties.
            _sType = SR.Get(SRID.LocalizedControlTypePager);

            // support for events
            _createOnEvent = new WinEventTracker.ProxyRaiseEvents(RaiseEvents);
        }
コード例 #3
0
        // ------------------------------------------------------
        //
        // Constructors
        //
        // ------------------------------------------------------

        #region Constructors

        WindowsDateTimePicker(IntPtr hwnd, ProxyFragment parent, int item)
            : base(hwnd, parent, item)
        {
            // DateTimePicker is custom so need to also return LocalizedControlType property
            _cControlType = ControlType.Custom;
            _sType        = SR.Get(SRID.LocalizedControlTypeDateTimePicker);

            // support for events
            _IsDropDownType = IsDropDownType();

            _fIsKeyboardFocusable = true;

            // support for events
            _createOnEvent = new WinEventTracker.ProxyRaiseEvents(RaiseEvents);
        }
コード例 #4
0
            // ------------------------------------------------------
            //
            // Constructors
            //
            // ------------------------------------------------------

            #region Constructors

            // Usually the hwnd passed to the constructor is wrong. As the base class is doing
            // nothing this does not matter.
            // This avoid to making some extra calls to get this right.
            internal PagerChildOverrideProxy(IntPtr hwnd, ProxyFragment parent, PagerItem item)
                : base(hwnd, parent, (int)item)
            {
            }
コード例 #5
0
            // ------------------------------------------------------
            //
            //  Constructors
            //
            //------------------------------------------------------

            #region Constructors

            internal PagerButton(IntPtr hwnd, ProxyFragment parent, PagerItem item)
                : base(hwnd, parent, (int)item)
            {
                // Set the strings to return properly the properties.
                _sType = SR.Get(SRID.LocalizedControlTypePagerButton);
            }
コード例 #6
0
            // ------------------------------------------------------
            //
            //  Constructors
            //
            //------------------------------------------------------

            #region Constructors

            internal DateTimeButton(IntPtr hwnd, ProxyFragment parent, int item)
                : base(hwnd, parent, item)
            {
                _cControlType  = ControlType.Button;
                _sAutomationId = "DropDown"; // This string is a non-localizable string
            }