//------------------------------------------------------ // // Constructors // //------------------------------------------------------ #region Constructors /// <summary> /// Constructor for notification event args. /// </summary> /// <param name="notificationKind">Specifies the type of the notification.</param> /// <param name="notificationProcessing">Specifies the order in which to process the notification.</param> /// <param name="displayString">A display string describing the event.</param> /// <param name="activityId">A unique non-localized string to identify an action or group of actions. Use this to pass additional information to the event handler.</param> public NotificationEventArgs(AutomationNotificationKind notificationKind, AutomationNotificationProcessing notificationProcessing, string displayString, string activityId) : base(AutomationElementIdentifiers.NotificationEvent) { NotificationKind = notificationKind; NotificationProcessing = notificationProcessing; DisplayString = displayString; ActivityId = activityId; }
public NarratorAnnouncement( string announcement, string activityId, AutomationNotificationKind kind, AutomationNotificationProcessing processing) { m_announcement = announcement; m_activityId = activityId; m_kind = kind; m_processing = processing; }
internal static void UiaRaiseNotificationEvent(IRawElementProviderSimple provider, AutomationNotificationKind notificationKind, AutomationNotificationProcessing notificationProcessing, string displayString, string activityId) { CheckError(RawUiaRaiseNotificationEvent(provider, notificationKind, notificationProcessing, displayString, activityId)); }
private static extern int RawUiaRaiseNotificationEvent(IRawElementProviderSimple provider, AutomationNotificationKind notificationKind, AutomationNotificationProcessing notificationProcessing, string displayString, string activityId);
public bool RaiseAutomationNotification(AutomationNotificationKind notificationKind, AutomationNotificationProcessing notificationProcessing, string notificationText) { throw null; }
public static extern HRESULT UiaRaiseNotificationEvent( IRawElementProviderSimple provider, AutomationNotificationKind notificationKind, AutomationNotificationProcessing notificationProcessing, [MarshalAs(UnmanagedType.BStr)] string displayString, [MarshalAs(UnmanagedType.BStr)] string activityId);
public static extern int UiaRaiseNotificationEvent( IRawElementProviderSimple provider, AutomationNotificationKind notificationKind, AutomationNotificationProcessing notificationProcessing, string notificationText, string notificationGuid);