Control.ControlAccessibleObjectとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > Control.ControlAccessibleObjectの意味・解説 

Control.ControlAccessibleObject クラス

ユーザー補助アプリケーションによって使用できるコントロールについての情報提供します

名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文構文

<ComVisibleAttribute(True)> _
Public Class ControlAccessibleObject
    Inherits AccessibleObject
Dim instance As ControlAccessibleObject
[ComVisibleAttribute(true)] 
public class ControlAccessibleObject : AccessibleObject
[ComVisibleAttribute(true)] 
public ref class ControlAccessibleObject :
 public AccessibleObject
/** @attribute ComVisibleAttribute(true) */ 
public class ControlAccessibleObject extends
 AccessibleObject
ComVisibleAttribute(true) 
public class ControlAccessibleObject extends
 AccessibleObject
解説解説

Windows フォームにはユーザー補助サポート組み込まれており、アプリケーションユーザー補助クライアント アプリケーション協調して動作させるための、アプリケーションに関する情報提供されます。ユーザー補助クライアント アプリケーションの例には、画面拡大ユーティリティおよびレビューア ユーティリティ音声入力ユーティリティオンスクリーン キーボード代替入力デバイス、およびキーボード拡張ユーティリティありますこうしたユーザー補助クライアント アプリケーションに対して追加情報提供する必要が生じ場合あります。この追加情報提供するには 2 つ方法あります既存コントロール制限付きユーザー補助情報提供するには、コントロールの AccessibleName、AccessibleDescription、AccessibleDefaultActionDescription、AccessibleRole の各プロパティ値を設定します。これらの値はユーザー補助クライアント アプリケーション報告されます。また、コントロールにさらに多くユーザー補助情報含め必要がある場合は、AccessibleObject クラスまたは Control.ControlAccessibleObject クラスから派生させてユーザー独自のクラス書き込むことができます。たとえば、共通のコントロールか派生していない独自のコントロール書き込んでいる場合、または自分コントロールの中でヒット テストなどの操作必要な場合は、CreateAccessibilityInstance メソッド呼び出してコントロールControl.ControlAccessibleObject作成する必要があります

メモメモ

AccessibleObject.GetChild メソッドオーバーライドする場合は、AccessibleObject.GetChildCount メソッドオーバーライドする必要があります。AccessibilityObject プロパティ取得または設定するには、.NET Framework一緒にインストールされている Accessibility アセンブリへの参照追加する必要があります

アクセス可能なオブジェクト詳細については、MSDN ライブラリの「Active Accessibility」を参照してください

使用例使用例

CheckBox クラスから派生したチェック ボックス コントロール作成し、この派生したクラス使用するカスタムControl.ControlAccessibleObject作成するコード例次に示します派生クラス MyCheckBoxButtonAppearance既定持っているため、これはトグル ボタンとして表示されます。派生 Control.ControlAccessibleObject クラス MyCheckBoxControlAccessibleObject は、3 つのプロパティオーバーライドして、表示違い考慮します

Imports System
Imports System.Windows.Forms
Imports Accessibility
Imports System.Drawing

Namespace MyCustomControls
   Public Class MyCheckBox
      Inherits CheckBox
      
      Public Sub New()
         ' Make the check box appear like a toggle button.
         Me.Appearance = Appearance.Button
         ' Center the text on the button.
         Me.TextAlign = ContentAlignment.MiddleCenter
      End Sub
      
      ' Create an instance of the AccessibleObject 
      ' defined for the 'MyCheckBox' control 
      Protected Overrides Function
 CreateAccessibilityInstance() _
        As AccessibleObject
         Return New MyCheckBoxAccessibleObject(Me)
      End Function
   End Class
    
   ' Accessible object for use with the 'MyCheckBox' control.
   Friend Class MyCheckBoxAccessibleObject
      Inherits Control.ControlAccessibleObject
      
      Public Sub New(owner
 As MyCheckBox)
         MyBase.New(owner)
      End Sub
      
      Public Overrides ReadOnly
 Property DefaultAction() As String
         Get
            ' Return the DefaultAction based upon 
            ' the state of the control. 
            If CType(Owner, MyCheckBox).Checked Then
               Return "Toggle button up"
            Else
               Return "Toggle button down"
            End If
         End Get
      End Property
      
      Public Overrides Property
 Name() As String
         Get
            ' Return the Text property of the control 
            ' if the AccessibleName is null. 
            Dim accessibleName As String
 = Owner.AccessibleName
            If Not (accessibleName Is
 Nothing) Then
               Return accessibleName
            End If
            Return CType(Owner, MyCheckBox).Text
         End Get

         Set
            MyBase.Name = value
         End Set
      End Property
      
      Public Overrides ReadOnly
 Property Role() As AccessibleRole
         Get
            ' Since the check box appears like a button,
            ' make the Role the same as a button. 
            Return AccessibleRole.PushButton
         End Get
      End Property
   End Class
End Namespace
using System;
using System.Windows.Forms;
using Accessibility;
using System.Drawing;

namespace MyCustomControls
{
   public class MyCheckBox : CheckBox
   {
      public MyCheckBox()
      {
         // Make the check box appear like a toggle button.
         this.Appearance = Appearance.Button;
         // Center the text on the button.
         this.TextAlign = ContentAlignment.MiddleCenter;
     // Set the AccessibleDescription text.
         this.AccessibleDescription = "A toggle style button.";
      }
      
      // Create an instance of the AccessibleObject 
      // defined for the 'MyCheckBox' control
      protected override AccessibleObject CreateAccessibilityInstance()
 
      {
         return new MyCheckBoxAccessibleObject(this);
      }
   }

   // Accessible object for use with the 'MyCheckBox' control.
   internal class MyCheckBoxAccessibleObject : Control.ControlAccessibleObject
 
   {
      public MyCheckBoxAccessibleObject(MyCheckBox owner) : base(owner)
 
      {
        
      }
               
      public override string DefaultAction
 
      {
         get
         {
            // Return the DefaultAction based upon 
            // the state of the control.
            if( ((MyCheckBox)Owner).Checked )
            {
               return "Toggle button up";
            }
            else
            {
               return "Toggle button down";
            }
         }
      }

      public override string Name 
      {
         get 
         {
            // Return the Text property of the control 
            // if the AccessibleName is null.
            string name = Owner.AccessibleName;
            if (name != null) 
            {
               return name;
            }
            return ((MyCheckBox)Owner).Text;
         }
         
         set
         {
            base.Name = value;
         }
      }            
               
      public override AccessibleRole Role 
      {
         get 
         {
            // Since the check box appears like a button,
            // make the Role the same as a button.
            return AccessibleRole.PushButton;
         }
      }
   }
}
#using <Accessibility.dll>
#using <System.Drawing.dll>
#using <System.dll>
#using <System.Windows.Forms.dll>

using namespace System;
using namespace System::Windows::Forms;
using namespace System::Drawing;

namespace MyCustomControls
{
   public ref class MyCheckBox: public
 CheckBox
   {
   public:
      MyCheckBox()
      {
         // Make the check box appear like a toggle button.
         this->Appearance = ::Appearance::Button;

         // Center the text on the button.
         this->TextAlign = ContentAlignment::MiddleCenter;

         // Set the AccessibleDescription text.
         this->AccessibleDescription = "A toggle style
 button.";
      }

   protected:

      // Create an instance of the AccessibleObject
      // defined for the 'MyCheckBox' control
      virtual AccessibleObject^ CreateAccessibilityInstance() override;
   };

   // Accessible Object* for use with the 'MyCheckBox' control.
   private ref class MyCheckBoxAccessibleObject:
 public Control::ControlAccessibleObject
   {
   public:
      MyCheckBoxAccessibleObject( MyCheckBox^ owner )
         : ControlAccessibleObject( owner )
      {}

      property String^ DefaultAction 
      {
         virtual String^ get() override
         {
            // Return the DefaultAction based upon
            // the state of the control.
            if ( (dynamic_cast<MyCheckBox^>(Owner))->Checked
 )
            {
               return "Toggle button up";
            }
            else
            {
               return "Toggle button down";
            }
         }
      }

      property String^ Name 
      {
         virtual String^ get() override
         {
            // Return the Text property of the control
            // if the AccessibleName is 0.
            String^ name = Owner->AccessibleName;
            if ( name != nullptr )
            {
               return name;
            }

            return (dynamic_cast<MyCheckBox^>(Owner))->Text;
         }

         virtual void set( String^ value )
 override
         {
            ControlAccessibleObject::Name = value;
         }
      }

      property AccessibleRole Role 
      {
         virtual AccessibleRole get() override
         {
            // Since the check box appears like a button,
            // make the Role the same as a button.
            return AccessibleRole::PushButton;
         }
      }
   };

   AccessibleObject^ MyCheckBox::CreateAccessibilityInstance()
   {
      return gcnew MyCheckBoxAccessibleObject( this
 );
   }
}
package MyCustomControls;
import System.*;
import System.Windows.Forms.*;
import Accessibility.*;
import System.Drawing.*;

public class MyCheckBox extends CheckBox
{
    public MyCheckBox()
    {
        // Make the check box appear like a toggle button.
        this.set_Appearance(get_Appearance().Button);
        // Center the text on the button.
        this.set_TextAlign(ContentAlignment.MiddleCenter);
        // Set the AccessibleDescription text.
        this.set_AccessibleDescription("A toggle style button.");
    } //MyCheckBox

    // Create an instance of the AccessibleObject 
    // defined for the 'MyCheckBox' control
    protected AccessibleObject CreateAccessibilityInstance()
    {
        return new MyCheckBoxAccessibleObject(this);
    } //CreateAccessibilityInstance
} //MyCheckBox

// Accessible object for use with the 'MyCheckBox' control.
class MyCheckBoxAccessibleObject extends Control.ControlAccessibleObject
{
    public MyCheckBoxAccessibleObject(MyCheckBox owner)
    {
         super(owner);
    } //MyCheckBoxAccessibleObject

    /** @property 
     */
    public String get_DefaultAction()
    {
        // Return the DefaultAction based upon 
        // the state of the control.
        if (((MyCheckBox)get_Owner()).get_Checked()) {
            return "Toggle button up";
        }
        else {
            return "Toggle button down";
        }
    } //get_DefaultAction

    /** @property 
     */
    public String get_Name()
    {
        // Return the Text property of the control 
        // if the AccessibleName is null.
        String name = get_Owner().get_AccessibleName();
        if (name != null) {
            return name;
        }
        return ((MyCheckBox)get_Owner()).get_Text();
    } //get_Name

    /** @property 
     */
    public void set_Name(String value)
    {
        super.set_Name(value);
    } //set_Name

    /** @property 
     */
    public AccessibleRole get_Role()
    {
        // Since the check box appears like a button,
        // make the Role the same as a button.
        return AccessibleRole.PushButton;
    } //get_Role
} //MyCheckBoxAccessibleObject
継承階層継承階層
System.Object
   System.MarshalByRefObject
     System.Runtime.InteropServices.StandardOleMarshalObject
       System.Windows.Forms.AccessibleObject
        System.Windows.Forms.Control.ControlAccessibleObject
           System.Windows.Forms.ButtonBase.ButtonBaseAccessibleObject
           System.Windows.Forms.DataGridView.DataGridViewAccessibleObject
           System.Windows.Forms.DateTimePicker.DateTimePickerAccessibleObject
           System.Windows.Forms.DomainUpDown.DomainUpDownAccessibleObject
           System.Windows.Forms.ToolStrip.ToolStripAccessibleObject
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Control.ControlAccessibleObject メンバ
System.Windows.Forms 名前空間
AccessibleObject クラス
Control.AccessibleName プロパティ
Control.AccessibleDescription プロパティ
Control.AccessibleDefaultActionDescription プロパティ
Control.AccessibleRole プロパティ

Control.ControlAccessibleObject コンストラクタ

Control.ControlAccessibleObject クラス新しインスタンス初期化します。

名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文構文

Public Sub New ( _
    ownerControl As Control _
)
Dim ownerControl As Control

Dim instance As New ControlAccessibleObject(ownerControl)
public ControlAccessibleObject (
    Control ownerControl
)
public:
ControlAccessibleObject (
    Control^ ownerControl
)
public ControlAccessibleObject (
    Control ownerControl
)
public function ControlAccessibleObject (
    ownerControl : Control
)

パラメータ

ownerControl

Control.ControlAccessibleObject を所有している Control

例外例外
例外種類条件

ArgumentNullException

ownerControl パラメータ値が null 参照 (Visual Basic では Nothing) です。

使用例使用例

CheckBox クラスから派生したチェック ボックス コントロール作成し、この派生したクラス使用するカスタムControl.ControlAccessibleObject作成するコード例次に示します派生クラス MyCheckBoxButtonAppearance既定持っているため、これはトグル ボタンとして表示されます。派生 Control.ControlAccessibleObject クラス MyCheckBoxControlAccessibleObject は、3 つのプロパティオーバーライドして、表示違い考慮します

Imports System
Imports System.Windows.Forms
Imports Accessibility
Imports System.Drawing

Namespace MyCustomControls
   Public Class MyCheckBox
      Inherits CheckBox
      
      Public Sub New()
         ' Make the check box appear like a toggle button.
         Me.Appearance = Appearance.Button
         ' Center the text on the button.
         Me.TextAlign = ContentAlignment.MiddleCenter
      End Sub
      
      ' Create an instance of the AccessibleObject 
      ' defined for the 'MyCheckBox' control 
      Protected Overrides Function
 CreateAccessibilityInstance() _
        As AccessibleObject
         Return New MyCheckBoxAccessibleObject(Me)
      End Function
   End Class
    
   ' Accessible object for use with the 'MyCheckBox' control.
   Friend Class MyCheckBoxAccessibleObject
      Inherits Control.ControlAccessibleObject
      
      Public Sub New(owner
 As MyCheckBox)
         MyBase.New(owner)
      End Sub
      
      Public Overrides ReadOnly
 Property DefaultAction() As String
         Get
            ' Return the DefaultAction based upon 
            ' the state of the control. 
            If CType(Owner, MyCheckBox).Checked Then
               Return "Toggle button up"
            Else
               Return "Toggle button down"
            End If
         End Get
      End Property
      
      Public Overrides Property
 Name() As String
         Get
            ' Return the Text property of the control 
            ' if the AccessibleName is null. 
            Dim accessibleName As String
 = Owner.AccessibleName
            If Not (accessibleName Is
 Nothing) Then
               Return accessibleName
            End If
            Return CType(Owner, MyCheckBox).Text
         End Get

         Set
            MyBase.Name = value
         End Set
      End Property
      
      Public Overrides ReadOnly
 Property Role() As AccessibleRole
         Get
            ' Since the check box appears like a button,
            ' make the Role the same as a button. 
            Return AccessibleRole.PushButton
         End Get
      End Property
   End Class
End Namespace
using System;
using System.Windows.Forms;
using Accessibility;
using System.Drawing;

namespace MyCustomControls
{
   public class MyCheckBox : CheckBox
   {
      public MyCheckBox()
      {
         // Make the check box appear like a toggle button.
         this.Appearance = Appearance.Button;
         // Center the text on the button.
         this.TextAlign = ContentAlignment.MiddleCenter;
     // Set the AccessibleDescription text.
         this.AccessibleDescription = "A toggle style button.";
      }
      
      // Create an instance of the AccessibleObject 
      // defined for the 'MyCheckBox' control
      protected override AccessibleObject CreateAccessibilityInstance()
 
      {
         return new MyCheckBoxAccessibleObject(this);
      }
   }

   // Accessible object for use with the 'MyCheckBox' control.
   internal class MyCheckBoxAccessibleObject : Control.ControlAccessibleObject
 
   {
      public MyCheckBoxAccessibleObject(MyCheckBox owner) : base(owner)
 
      {
        
      }
               
      public override string DefaultAction
 
      {
         get
         {
            // Return the DefaultAction based upon 
            // the state of the control.
            if( ((MyCheckBox)Owner).Checked )
            {
               return "Toggle button up";
            }
            else
            {
               return "Toggle button down";
            }
         }
      }

      public override string Name 
      {
         get 
         {
            // Return the Text property of the control 
            // if the AccessibleName is null.
            string name = Owner.AccessibleName;
            if (name != null) 
            {
               return name;
            }
            return ((MyCheckBox)Owner).Text;
         }
         
         set
         {
            base.Name = value;
         }
      }            
               
      public override AccessibleRole Role 
      {
         get 
         {
            // Since the check box appears like a button,
            // make the Role the same as a button.
            return AccessibleRole.PushButton;
         }
      }
   }
}
#using <Accessibility.dll>
#using <System.Drawing.dll>
#using <System.dll>
#using <System.Windows.Forms.dll>

using namespace System;
using namespace System::Windows::Forms;
using namespace System::Drawing;

namespace MyCustomControls
{
   public ref class MyCheckBox: public
 CheckBox
   {
   public:
      MyCheckBox()
      {
         // Make the check box appear like a toggle button.
         this->Appearance = ::Appearance::Button;

         // Center the text on the button.
         this->TextAlign = ContentAlignment::MiddleCenter;

         // Set the AccessibleDescription text.
         this->AccessibleDescription = "A toggle style
 button.";
      }

   protected:

      // Create an instance of the AccessibleObject
      // defined for the 'MyCheckBox' control
      virtual AccessibleObject^ CreateAccessibilityInstance() override;
   };

   // Accessible Object* for use with the 'MyCheckBox' control.
   private ref class MyCheckBoxAccessibleObject:
 public Control::ControlAccessibleObject
   {
   public:
      MyCheckBoxAccessibleObject( MyCheckBox^ owner )
         : ControlAccessibleObject( owner )
      {}

      property String^ DefaultAction 
      {
         virtual String^ get() override
         {
            // Return the DefaultAction based upon
            // the state of the control.
            if ( (dynamic_cast<MyCheckBox^>(Owner))->Checked
 )
            {
               return "Toggle button up";
            }
            else
            {
               return "Toggle button down";
            }
         }
      }

      property String^ Name 
      {
         virtual String^ get() override
         {
            // Return the Text property of the control
            // if the AccessibleName is 0.
            String^ name = Owner->AccessibleName;
            if ( name != nullptr )
            {
               return name;
            }

            return (dynamic_cast<MyCheckBox^>(Owner))->Text;
         }

         virtual void set( String^ value )
 override
         {
            ControlAccessibleObject::Name = value;
         }
      }

      property AccessibleRole Role 
      {
         virtual AccessibleRole get() override
         {
            // Since the check box appears like a button,
            // make the Role the same as a button.
            return AccessibleRole::PushButton;
         }
      }
   };

   AccessibleObject^ MyCheckBox::CreateAccessibilityInstance()
   {
      return gcnew MyCheckBoxAccessibleObject( this
 );
   }
}
package MyCustomControls;
import System.*;
import System.Windows.Forms.*;
import Accessibility.*;
import System.Drawing.*;

public class MyCheckBox extends CheckBox
{
    public MyCheckBox()
    {
        // Make the check box appear like a toggle button.
        this.set_Appearance(get_Appearance().Button);
        // Center the text on the button.
        this.set_TextAlign(ContentAlignment.MiddleCenter);
        // Set the AccessibleDescription text.
        this.set_AccessibleDescription("A toggle style button.");
    } //MyCheckBox

    // Create an instance of the AccessibleObject 
    // defined for the 'MyCheckBox' control
    protected AccessibleObject CreateAccessibilityInstance()
    {
        return new MyCheckBoxAccessibleObject(this);
    } //CreateAccessibilityInstance
} //MyCheckBox

// Accessible object for use with the 'MyCheckBox' control.
class MyCheckBoxAccessibleObject extends Control.ControlAccessibleObject
{
    public MyCheckBoxAccessibleObject(MyCheckBox owner)
    {
         super(owner);
    } //MyCheckBoxAccessibleObject

    /** @property 
     */
    public String get_DefaultAction()
    {
        // Return the DefaultAction based upon 
        // the state of the control.
        if (((MyCheckBox)get_Owner()).get_Checked()) {
            return "Toggle button up";
        }
        else {
            return "Toggle button down";
        }
    } //get_DefaultAction

    /** @property 
     */
    public String get_Name()
    {
        // Return the Text property of the control 
        // if the AccessibleName is null.
        String name = get_Owner().get_AccessibleName();
        if (name != null) {
            return name;
        }
        return ((MyCheckBox)get_Owner()).get_Text();
    } //get_Name

    /** @property 
     */
    public void set_Name(String value)
    {
        super.set_Name(value);
    } //set_Name

    /** @property 
     */
    public AccessibleRole get_Role()
    {
        // Since the check box appears like a button,
        // make the Role the same as a button.
        return AccessibleRole.PushButton;
    } //get_Role
} //MyCheckBoxAccessibleObject
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Control.ControlAccessibleObject クラス
Control.ControlAccessibleObject メンバ
System.Windows.Forms 名前空間
Control.ControlAccessibleObject クラス
Owner

Control.ControlAccessibleObject プロパティ


パブリック プロパティパブリック プロパティ

参照参照

関連項目

Control.ControlAccessibleObject クラス
System.Windows.Forms 名前空間
AccessibleObject クラス
Control.AccessibleName プロパティ
Control.AccessibleDescription プロパティ
Control.AccessibleDefaultActionDescription プロパティ
Control.AccessibleRole プロパティ

Control.ControlAccessibleObject メソッド


パブリック メソッドパブリック メソッド

( プロテクト メソッド参照)
  名前 説明
パブリック メソッド CreateObjRef  リモート オブジェクトとの通信使用するプロキシ生成必要な情報をすべて格納しているオブジェクト作成します。 ( MarshalByRefObject から継承されます。)
パブリック メソッド DoDefaultAction  ユーザー補助オブジェクト関連付けられた既定アクション実行します。 ( AccessibleObject から継承されます。)
パブリック メソッド Equals  オーバーロードされます2 つObject インスタンス等しかどうか判断します。 ( Object から継承されます。)
パブリック メソッド GetChild  指定したインデックス対応するユーザー補助オブジェクト取得します。 ( AccessibleObject から継承されます。)
パブリック メソッド GetChildCount  ユーザー補助オブジェトに属する子の数を取得します。 ( AccessibleObject から継承されます。)
パブリック メソッド GetFocused  キーボード フォーカスを持つオブジェクト取得します。 ( AccessibleObject から継承されます。)
パブリック メソッド GetHashCode  特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用適してます。 ( Object から継承されます。)
パブリック メソッド GetHelpTopic オーバーライドされます。 このユーザー補助オブジェクト関連付けられたヘルプ トピック識別子と、ヘルプ ファイルへのパス取得します
パブリック メソッド GetLifetimeService  対象インスタンス有効期間ポリシー制御する現在の有効期間サービス オブジェクト取得します。 ( MarshalByRefObject から継承されます。)
パブリック メソッド GetSelected  現在選択されている子を取得します。 ( AccessibleObject から継承されます。)
パブリック メソッド GetType  現在のインスタンスType取得します。 ( Object から継承されます。)
パブリック メソッド HitTest  指定した画面座標にある子オブジェクト取得します。 ( AccessibleObject から継承されます。)
パブリック メソッド InitializeLifetimeService  対象インスタンス有効期間ポリシー制御する有効期間サービス オブジェクト取得します。 ( MarshalByRefObject から継承されます。)
パブリック メソッド Navigate  他のユーザー補助オブジェクト移動します。 ( AccessibleObject から継承されます。)
パブリック メソッド NotifyClients オーバーロードされますユーザー補助クライアント アプリケーションに AccessibleEvents を通知します
パブリック メソッド ReferenceEquals  指定した複数Object インスタンス同一かどうか判断します。 ( Object から継承されます。)
パブリック メソッド Select  ユーザー補助オブジェクト選択項目の修正またはキーボード フォーカス移動行います。 ( AccessibleObject から継承されます。)
パブリック メソッド ToString オーバーライドされます。  
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

Control.ControlAccessibleObject クラス
System.Windows.Forms 名前空間
AccessibleObject クラス
Control.AccessibleName プロパティ
Control.AccessibleDescription プロパティ
Control.AccessibleDefaultActionDescription プロパティ
Control.AccessibleRole プロパティ

Control.ControlAccessibleObject メンバ

ユーザー補助アプリケーションによって使用できるコントロールについての情報提供します

Control.ControlAccessibleObject データ型公開されるメンバを以下の表に示します


パブリック コンストラクタパブリック コンストラクタ
  名前 説明
パブリック メソッド Control.ControlAccessibleObject Control.ControlAccessibleObject クラス新しインスタンス初期化します。
パブリック プロパティパブリック プロパティ
パブリック メソッドパブリック メソッド
( プロテクト メソッド参照)
  名前 説明
パブリック メソッド CreateObjRef  リモート オブジェクトとの通信使用するプロキシ生成必要な情報をすべて格納しているオブジェクト作成します。 (MarshalByRefObject から継承されます。)
パブリック メソッド DoDefaultAction  ユーザー補助オブジェクト関連付けられた既定アクション実行します。 (AccessibleObject から継承されます。)
パブリック メソッド Equals  オーバーロードされます2 つObject インスタンス等しかどうか判断します。 (Object から継承されます。)
パブリック メソッド GetChild  指定したインデックス対応するユーザー補助オブジェクト取得します。 (AccessibleObject から継承されます。)
パブリック メソッド GetChildCount  ユーザー補助オブジェトに属する子の数を取得します。 (AccessibleObject から継承されます。)
パブリック メソッド GetFocused  キーボード フォーカスを持つオブジェクト取得します。 (AccessibleObject から継承されます。)
パブリック メソッド GetHashCode  特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用適してます。 (Object から継承されます。)
パブリック メソッド GetHelpTopic オーバーライドされます。 このユーザー補助オブジェクト関連付けられたヘルプ トピック識別子と、ヘルプ ファイルへのパス取得します
パブリック メソッド GetLifetimeService  対象インスタンス有効期間ポリシー制御する現在の有効期間サービス オブジェクト取得します。 (MarshalByRefObject から継承されます。)
パブリック メソッド GetSelected  現在選択されている子を取得します。 (AccessibleObject から継承されます。)
パブリック メソッド GetType  現在のインスタンスType取得します。 (Object から継承されます。)
パブリック メソッド HitTest  指定した画面座標にある子オブジェクト取得します。 (AccessibleObject から継承されます。)
パブリック メソッド InitializeLifetimeService  対象インスタンス有効期間ポリシー制御する有効期間サービス オブジェクト取得します。 (MarshalByRefObject から継承されます。)
パブリック メソッド Navigate  他のユーザー補助オブジェクト移動します。 (AccessibleObject から継承されます。)
パブリック メソッド NotifyClients オーバーロードされますユーザー補助クライアント アプリケーションに AccessibleEvents を通知します
パブリック メソッド ReferenceEquals  指定した複数Object インスタンス同一かどうか判断します。 (Object から継承されます。)
パブリック メソッド Select  ユーザー補助オブジェクト選択項目の修正またはキーボード フォーカス移動行います。 (AccessibleObject から継承されます。)
パブリック メソッド ToString オーバーライドされます。  
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

Control.ControlAccessibleObject クラス
System.Windows.Forms 名前空間
AccessibleObject クラス
Control.AccessibleName プロパティ
Control.AccessibleDescription プロパティ
Control.AccessibleDefaultActionDescription プロパティ
Control.AccessibleRole プロパティ



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「Control.ControlAccessibleObject」の関連用語

Control.ControlAccessibleObjectのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



Control.ControlAccessibleObjectのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS