ComboBox.ChildAccessibleObject ComboBox.ChildAccessibleObject ComboBox.ChildAccessibleObject ComboBox.ChildAccessibleObject Class

Definition

Provides information about the ComboBox control to accessibility client applications.

This API supports the product infrastructure and is not intended to be used directly from your code.

public: ref class ComboBox::ChildAccessibleObject : System::Windows::Forms::AccessibleObject
[System.Runtime.InteropServices.ComVisible(true)]
public class ComboBox.ChildAccessibleObject : System.Windows.Forms.AccessibleObject
type ComboBox.ChildAccessibleObject = class
    inherit AccessibleObject
Public Class ComboBox.ChildAccessibleObject
Inherits AccessibleObject
Inheritance
ComboBox.ChildAccessibleObjectComboBox.ChildAccessibleObjectComboBox.ChildAccessibleObjectComboBox.ChildAccessibleObject
Attributes

Remarks

Windows Forms has accessibility support built in and provides information about your application that allows it to work with accessibility client applications. Examples of accessibility client applications are screen enlarger and reviewer utilities, voice input utilities, on-screen keyboards, alternative input devices, and keyboard enhancement utilities. The ComboBox.ChildAccessibleObject class inherits from the AccessibleObject class to provide information about the ComboBox control to accessibility client applications.

There are instances when you will want to provide custom information, such as a control's name or description, to accessibility client applications. There are two ways of providing this information. To provide limited accessibility information for existing controls, set the control's AccessibleName, AccessibleDescription, AccessibleDefaultActionDescription, and AccessibleRole property values, which will be reported to accessibility client applications.

If you require more accessibility information to be included with your control, you can write your own class that is derived from the AccessibleObject or Control.ControlAccessibleObject classes. For example, if you are writing your own control that is not derived from the common controls, or you require such operations as hit testing within your control, you should create a Control.ControlAccessibleObject for your control by calling the CreateAccessibilityInstance method.

Constructors

ComboBox.ChildAccessibleObject(ComboBox, IntPtr) ComboBox.ChildAccessibleObject(ComboBox, IntPtr) ComboBox.ChildAccessibleObject(ComboBox, IntPtr) ComboBox.ChildAccessibleObject(ComboBox, IntPtr)

Initializes a new instance of the ComboBox.ChildAccessibleObject class.

Properties

Bounds Bounds Bounds Bounds

Gets the location and size of the accessible object.

(Inherited from AccessibleObject)
DefaultAction DefaultAction DefaultAction DefaultAction

Gets a string that describes the default action of the object. Not all objects have a default action.

(Inherited from AccessibleObject)
Description Description Description Description

Gets a string that describes the visual appearance of the specified object. Not all objects have a description.

(Inherited from AccessibleObject)
Help Help Help Help

Gets a description of what the object does or how the object is used.

(Inherited from AccessibleObject)
IAccessible.accChildCount IAccessible.accChildCount IAccessible.accChildCount IAccessible.accChildCount

Gets the number of child interfaces that belong to this object. For a description of this member, see accChildCount.

(Inherited from AccessibleObject)
IAccessible.accFocus IAccessible.accFocus IAccessible.accFocus IAccessible.accFocus

Gets the object that has the keyboard focus. For a description of this member, see accFocus.

(Inherited from AccessibleObject)
IAccessible.accParent IAccessible.accParent IAccessible.accParent IAccessible.accParent

Gets the parent accessible object of this object. For a description of this member, see accParent.

(Inherited from AccessibleObject)
IAccessible.accSelection IAccessible.accSelection IAccessible.accSelection IAccessible.accSelection

Gets the selected child objects of an accessible object. For a description of this member, see accSelection.

(Inherited from AccessibleObject)
IReflect.UnderlyingSystemType IReflect.UnderlyingSystemType IReflect.UnderlyingSystemType IReflect.UnderlyingSystemType

Gets the underlying type that represents the IReflect object. For a description of this member, see UnderlyingSystemType.

(Inherited from AccessibleObject)
KeyboardShortcut KeyboardShortcut KeyboardShortcut KeyboardShortcut

Gets the shortcut key or access key for the accessible object.

(Inherited from AccessibleObject)
Name Name Name Name

Gets the name of the object.

Parent Parent Parent Parent

Gets the parent of an accessible object.

(Inherited from AccessibleObject)
Role Role Role Role

Gets the role of this accessible object.

(Inherited from AccessibleObject)
State State State State

Gets the state of this accessible object.

(Inherited from AccessibleObject)
Value Value Value Value

Gets or sets the value of an accessible object.

(Inherited from AccessibleObject)

Methods

CreateObjRef(Type) CreateObjRef(Type) CreateObjRef(Type) CreateObjRef(Type)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.

(Inherited from MarshalByRefObject)
DoDefaultAction() DoDefaultAction() DoDefaultAction() DoDefaultAction()

Performs the default action associated with this accessible object.

(Inherited from AccessibleObject)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetChild(Int32) GetChild(Int32) GetChild(Int32) GetChild(Int32)

Retrieves the accessible child corresponding to the specified index.

(Inherited from AccessibleObject)
GetChildCount() GetChildCount() GetChildCount() GetChildCount()

Retrieves the number of children belonging to an accessible object.

(Inherited from AccessibleObject)
GetFocused() GetFocused() GetFocused() GetFocused()

Retrieves the object that has the keyboard focus.

(Inherited from AccessibleObject)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetHelpTopic(String) GetHelpTopic(String) GetHelpTopic(String) GetHelpTopic(String)

Gets an identifier for a Help topic identifier and the path to the Help file associated with this accessible object.

(Inherited from AccessibleObject)
GetLifetimeService() GetLifetimeService() GetLifetimeService() GetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
GetSelected() GetSelected() GetSelected() GetSelected()

Retrieves the currently selected child.

(Inherited from AccessibleObject)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
HitTest(Int32, Int32) HitTest(Int32, Int32) HitTest(Int32, Int32) HitTest(Int32, Int32)

Retrieves the child object at the specified screen coordinates.

(Inherited from AccessibleObject)
InitializeLifetimeService() InitializeLifetimeService() InitializeLifetimeService() InitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
MemberwiseClone(Boolean) MemberwiseClone(Boolean) MemberwiseClone(Boolean) MemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.

(Inherited from MarshalByRefObject)
Navigate(AccessibleNavigation) Navigate(AccessibleNavigation) Navigate(AccessibleNavigation) Navigate(AccessibleNavigation)

Navigates to another accessible object.

(Inherited from AccessibleObject)
RaiseAutomationNotification(AutomationNotificationKind, AutomationNotificationProcessing, String) RaiseAutomationNotification(AutomationNotificationKind, AutomationNotificationProcessing, String) RaiseAutomationNotification(AutomationNotificationKind, AutomationNotificationProcessing, String) RaiseAutomationNotification(AutomationNotificationKind, AutomationNotificationProcessing, String)

Raises the UI automation notification event.

(Inherited from AccessibleObject)
RaiseLiveRegionChanged() RaiseLiveRegionChanged() RaiseLiveRegionChanged() RaiseLiveRegionChanged()

Raises the LiveRegionChanged UI automation event.

(Inherited from AccessibleObject)
Select(AccessibleSelection) Select(AccessibleSelection) Select(AccessibleSelection) Select(AccessibleSelection)

Modifies the selection or moves the keyboard focus of the accessible object.

(Inherited from AccessibleObject)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
UseStdAccessibleObjects(IntPtr) UseStdAccessibleObjects(IntPtr) UseStdAccessibleObjects(IntPtr) UseStdAccessibleObjects(IntPtr)

Associates an object with an instance of an AccessibleObject based on the handle of the object.

(Inherited from AccessibleObject)
UseStdAccessibleObjects(IntPtr, Int32) UseStdAccessibleObjects(IntPtr, Int32) UseStdAccessibleObjects(IntPtr, Int32) UseStdAccessibleObjects(IntPtr, Int32)

Associates an object with an instance of an AccessibleObject based on the handle and the object id of the object.

(Inherited from AccessibleObject)

Explicit Interface Implementations

IAccessible.accDoDefaultAction(Object) IAccessible.accDoDefaultAction(Object) IAccessible.accDoDefaultAction(Object) IAccessible.accDoDefaultAction(Object)

Performs the specified object's default action. Not all objects have a default action. For a description of this member, see accDoDefaultAction(Object).

(Inherited from AccessibleObject)
IAccessible.accHitTest(Int32, Int32) IAccessible.accHitTest(Int32, Int32) IAccessible.accHitTest(Int32, Int32) IAccessible.accHitTest(Int32, Int32)

Gets the child object at the specified screen coordinates. For a description of this member, see accHitTest(Int32, Int32).

(Inherited from AccessibleObject)
IAccessible.accLocation(Int32, Int32, Int32, Int32, Object) IAccessible.accLocation(Int32, Int32, Int32, Int32, Object) IAccessible.accLocation(Int32, Int32, Int32, Int32, Object) IAccessible.accLocation(Int32, Int32, Int32, Int32, Object)

Gets the object's current screen location. For a description of this member, see accLocation(Int32, Int32, Int32, Int32, Object).

(Inherited from AccessibleObject)
IAccessible.accNavigate(Int32, Object) IAccessible.accNavigate(Int32, Object) IAccessible.accNavigate(Int32, Object) IAccessible.accNavigate(Int32, Object)

Navigates to an accessible object relative to the current object. For a description of this member, see accNavigate(Int32, Object).

(Inherited from AccessibleObject)
IAccessible.accSelect(Int32, Object) IAccessible.accSelect(Int32, Object) IAccessible.accSelect(Int32, Object) IAccessible.accSelect(Int32, Object)

Modifies the selection or moves the keyboard focus of the accessible object. For a description of this member, see accSelect(Int32, Object).

(Inherited from AccessibleObject)
IAccessible.get_accChild(Object) IAccessible.get_accChild(Object) IAccessible.get_accChild(Object) IAccessible.get_accChild(Object)

Retrieves a specified child object.

(Inherited from AccessibleObject)
IAccessible.get_accDefaultAction(Object) IAccessible.get_accDefaultAction(Object) IAccessible.get_accDefaultAction(Object) IAccessible.get_accDefaultAction(Object)

Returns a string that indicates the specified object's default action.

(Inherited from AccessibleObject)
IAccessible.get_accDescription(Object) IAccessible.get_accDescription(Object) IAccessible.get_accDescription(Object) IAccessible.get_accDescription(Object)

Returns a string that describes the visual appearance of the specified accessible object.

(Inherited from AccessibleObject)
IAccessible.get_accHelp(Object) IAccessible.get_accHelp(Object) IAccessible.get_accHelp(Object) IAccessible.get_accHelp(Object)

Retrieves the full path of the WinHelp file that is associated with the specified accessible object.

(Inherited from AccessibleObject)
IAccessible.get_accHelpTopic(String, Object) IAccessible.get_accHelpTopic(String, Object) IAccessible.get_accHelpTopic(String, Object) IAccessible.get_accHelpTopic(String, Object)

Retrieves the full path of a WinHelp file that is associated with the specified object along with the identifier of a specific topic in the file.

(Inherited from AccessibleObject)
IAccessible.get_accKeyboardShortcut(Object) IAccessible.get_accKeyboardShortcut(Object) IAccessible.get_accKeyboardShortcut(Object) IAccessible.get_accKeyboardShortcut(Object)

Retrieves the specified object's keyboard shortcut or access key.

(Inherited from AccessibleObject)
IAccessible.get_accName(Object) IAccessible.get_accName(Object) IAccessible.get_accName(Object) IAccessible.get_accName(Object)

Retrieves the name of the specified object.

(Inherited from AccessibleObject)
IAccessible.get_accRole(Object) IAccessible.get_accRole(Object) IAccessible.get_accRole(Object) IAccessible.get_accRole(Object)

Retrieves information that describes the role of the specified object.

(Inherited from AccessibleObject)
IAccessible.get_accState(Object) IAccessible.get_accState(Object) IAccessible.get_accState(Object) IAccessible.get_accState(Object)

Retrieves the current state of the specified accessible object.

(Inherited from AccessibleObject)
IAccessible.get_accValue(Object) IAccessible.get_accValue(Object) IAccessible.get_accValue(Object) IAccessible.get_accValue(Object)

Retrieves the value of the specified accessible object. Not all objects have a value.

(Inherited from AccessibleObject)
IAccessible.set_accName(Object, String) IAccessible.set_accName(Object, String) IAccessible.set_accName(Object, String) IAccessible.set_accName(Object, String)

Assigns a new accessible name to the specified element.

(Inherited from AccessibleObject)
IAccessible.set_accValue(Object, String) IAccessible.set_accValue(Object, String) IAccessible.set_accValue(Object, String) IAccessible.set_accValue(Object, String)

Assigns a new value to the specified element.

(Inherited from AccessibleObject)
IReflect.GetField(String, BindingFlags) IReflect.GetField(String, BindingFlags) IReflect.GetField(String, BindingFlags) IReflect.GetField(String, BindingFlags)

Gets the FieldInfo object corresponding to the specified field and binding flag. For a description of this member, see GetField(String, BindingFlags).

(Inherited from AccessibleObject)
IReflect.GetFields(BindingFlags) IReflect.GetFields(BindingFlags) IReflect.GetFields(BindingFlags) IReflect.GetFields(BindingFlags)

Gets an array of FieldInfo objects corresponding to all fields of the current class. For a description of this member, see GetFields(BindingFlags).

(Inherited from AccessibleObject)
IReflect.GetMember(String, BindingFlags) IReflect.GetMember(String, BindingFlags) IReflect.GetMember(String, BindingFlags) IReflect.GetMember(String, BindingFlags)

Gets an array of MemberInfo objects corresponding to all public members or to all members that match a specified name. For a description of this member, see GetMember(String, BindingFlags).

(Inherited from AccessibleObject)
IReflect.GetMembers(BindingFlags) IReflect.GetMembers(BindingFlags) IReflect.GetMembers(BindingFlags) IReflect.GetMembers(BindingFlags)

Gets an array of MemberInfo objects corresponding either to all public members or to all members of the current class. For a description of this member, see GetMembers(BindingFlags).

(Inherited from AccessibleObject)
IReflect.GetMethod(String, BindingFlags) IReflect.GetMethod(String, BindingFlags) IReflect.GetMethod(String, BindingFlags) IReflect.GetMethod(String, BindingFlags)

Gets a MethodInfo object corresponding to a specified method under specified search constraints. For a description of this member, see GetMethod(String, BindingFlags).

(Inherited from AccessibleObject)
IReflect.GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[]) IReflect.GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[]) IReflect.GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[]) IReflect.GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[])

Gets a MethodInfo object corresponding to a specified method, using a Type array to choose from among overloaded methods. For a description of this member, see GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[]).

(Inherited from AccessibleObject)
IReflect.GetMethods(BindingFlags) IReflect.GetMethods(BindingFlags) IReflect.GetMethods(BindingFlags) IReflect.GetMethods(BindingFlags)

Gets an array of MethodInfo objects with all public methods or all methods of the current class. For a description of this member, see GetMethods(BindingFlags).

(Inherited from AccessibleObject)
IReflect.GetProperties(BindingFlags) IReflect.GetProperties(BindingFlags) IReflect.GetProperties(BindingFlags) IReflect.GetProperties(BindingFlags)

Gets an array of PropertyInfo objects corresponding to all public properties or to all properties of the current class. For a description of this member, see GetProperties(BindingFlags).

(Inherited from AccessibleObject)
IReflect.GetProperty(String, BindingFlags) IReflect.GetProperty(String, BindingFlags) IReflect.GetProperty(String, BindingFlags) IReflect.GetProperty(String, BindingFlags)

Gets a PropertyInfo object corresponding to a specified property under specified search constraints. For a description of this member, see GetProperty(String, BindingFlags).

(Inherited from AccessibleObject)
IReflect.GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[]) IReflect.GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[]) IReflect.GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[]) IReflect.GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[])

Gets a PropertyInfo object corresponding to a specified property with specified search constraints. For a description of this member, see GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[]).

(Inherited from AccessibleObject)
IReflect.InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[]) IReflect.InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[]) IReflect.InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[]) IReflect.InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[])

Invokes a specified member. For a description of this member, see InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[]).

(Inherited from AccessibleObject)

Fields

RuntimeIDFirstItem RuntimeIDFirstItem RuntimeIDFirstItem RuntimeIDFirstItem Inherited from AccessibleObject

Applies to