Name
AccessibleObject
Synopsis
This class encapsulates the information needed by applications that support users who need assistance with a UI. This might include magnifiers, Braille readers, specialized pointing devices, etc.
Developers may derive from this class to provide their own
accessibility information, to announce navigation, property, and
state changes to these accessibility clients. To make life easier,
Microsoft already provides a class called
Control.AccessibilityObject
. Unless you create
your own custom controls, this provides all the accessibility
information required for your own applications, and you never really
need to worry about this stuff—you get it all for free. If you
do create a custom control that adds its own special state or
navigation handling, you may need to derive your own accessibility
object and override the appropriate members to notify clients when
your state changes.
public class AccessibleObject : MarshalByRefObject : System.Reflection.IReflect, Accessibility.IAccessible, IEnumVariant { // Public Constructors public AccessibleObject(); // Public Instance Properties public virtual Rectangle Bounds{get; } public virtual string DefaultAction{get; } public virtual string Description{get; } public virtual string Help{get; } public virtual string KeyboardShortcut{get; } public virtual string Name{set; get; } public virtual AccessibleObject Parent{get; } public virtual AccessibleRole Role{get; } public virtual AccessibleStates State{get; } public virtual ...
Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.