View.AccessibilityDelegate.OnPopulateAccessibilityEvent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gives a chance to the host View to populate the accessibility event with its text content.
[Android.Runtime.Register("onPopulateAccessibilityEvent", "(Landroid/view/View;Landroid/view/accessibility/AccessibilityEvent;)V", "GetOnPopulateAccessibilityEvent_Landroid_view_View_Landroid_view_accessibility_AccessibilityEvent_Handler")]
public virtual void OnPopulateAccessibilityEvent (Android.Views.View host, Android.Views.Accessibility.AccessibilityEvent e);
[<Android.Runtime.Register("onPopulateAccessibilityEvent", "(Landroid/view/View;Landroid/view/accessibility/AccessibilityEvent;)V", "GetOnPopulateAccessibilityEvent_Landroid_view_View_Landroid_view_accessibility_AccessibilityEvent_Handler")>]
abstract member OnPopulateAccessibilityEvent : Android.Views.View * Android.Views.Accessibility.AccessibilityEvent -> unit
override this.OnPopulateAccessibilityEvent : Android.Views.View * Android.Views.Accessibility.AccessibilityEvent -> unit
Parameters
- host
- View
The View hosting the delegate.
The accessibility event which to populate.
- Attributes
Remarks
Gives a chance to the host View to populate the accessibility event with its text content.
The default implementation behaves as View#onPopulateAccessibilityEvent(AccessibilityEvent) View#onPopulateAccessibilityEvent(AccessibilityEvent)
for the case of no accessibility delegate been set.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.