View.AccessibilityDelegate.OnInitializeAccessibilityEvent 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.
Initializes an AccessibilityEvent
with information about the
the host View which is the event source.
[Android.Runtime.Register("onInitializeAccessibilityEvent", "(Landroid/view/View;Landroid/view/accessibility/AccessibilityEvent;)V", "GetOnInitializeAccessibilityEvent_Landroid_view_View_Landroid_view_accessibility_AccessibilityEvent_Handler")]
public virtual void OnInitializeAccessibilityEvent (Android.Views.View host, Android.Views.Accessibility.AccessibilityEvent e);
[<Android.Runtime.Register("onInitializeAccessibilityEvent", "(Landroid/view/View;Landroid/view/accessibility/AccessibilityEvent;)V", "GetOnInitializeAccessibilityEvent_Landroid_view_View_Landroid_view_accessibility_AccessibilityEvent_Handler")>]
abstract member OnInitializeAccessibilityEvent : Android.Views.View * Android.Views.Accessibility.AccessibilityEvent -> unit
override this.OnInitializeAccessibilityEvent : Android.Views.View * Android.Views.Accessibility.AccessibilityEvent -> unit
Parameters
- host
- View
The View hosting the delegate.
The event to initialize.
- Attributes
Remarks
Initializes an AccessibilityEvent
with information about the the host View which is the event source.
The default implementation behaves as View#onInitializeAccessibilityEvent(AccessibilityEvent) View#onInitializeAccessibilityEvent(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.