NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

AccessibleObject Members

Public:

Constructor

AccessibleObject Constructor [To be supplied.]

Properties

Bounds Gets the bounds of the accessible object, in screen coordinates.
DefaultAction Gets a description of the default action for an object.
Description Gets a description of the object's visual appearance to the user.
Help Gets a description of what the object does or how the object is used.
KeyboardShortcut Gets the object shortcut key or access key for an accessible object.
Name Gets or sets the object name.
Parent Gets or sets the parent of an accessible object.
Role Gets the role of this accessible object.
State Gets the state of this accessible object.
Value Gets or sets the value of an accessible object.

Methods

DoDefaultAction Performs the default action associated with this accessible object.
Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
GetChild Given a zero-based index, returns an accessible child corresponding to that index. This function does nothing by default. If accessible objects want to provide custom accessible children, then this function should be overridden. If the index is invalid, then the function should return null. If this function is overridden, then GetChildCount() should also be overridden.
GetChildCount Retrieves the number of children belonging to an accessible object. All objects must support this property.

This function does nothing by default. If accessible objects want to provide custom accessible children, then this function should be overridden. If this function is overridden, then GetChild(int index) should also be overridden.

GetFocused Retrieves the object that has the keyboard focus. All objects that can receive the keyboard focus must support this property.

Returns the currently focused child, if any. Returns this if the object itself is focused.

GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetHelpTopic Returns an identifier for a help file topic and the path to the help file associated with this accessible object. This value is used as the context identifier of the desired topic that will be passed to the Win32 function WinHelp.
GetSelected Returns the currently selected child, if any. Returns this if the object itself is selected.
GetType (inherited from Object) Gets the Type of the Object.
HitTest Return the child object at the given screen coordinates.
Navigate When overriding in a derived class, navigates to another object.
NotifyClients Notify accessibility clients that an Accessible event has occurred.
Select Selects this accessible object.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected:

Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

AccessibleObject Class | System.WinForms Namespace