HeaderPane
Main
Hide
Share Link
Print

Announce Method, SftCalendar Object

Has screen readers announce a text.

Syntax

C#void object.Announce(string Text, SftDateAnnounceConstants Kind = announceSftDateInfo, bool Assertive = false);
VB.NETobject.Announce(ByVal Text As String, [ ByVal Kind As SftDateAnnounceConstants = announceSftDateInfo ], [ ByVal Assertive As Boolean = False ])
C++HRESULT object->Announce(_bstr_t Text, enum SftDateAnnounceConstants Kind = announceSftDateInfo, VARIANT_BOOL Assertive = false);
CHRESULT object->raw_Announce(BSTR Text, enum SftDateAnnounceConstants Kind, VARIANT_BOOL Assertive);

object

A SftCalendar object.

Text

The text screen readers announce.

Kind

The kind of announcement. The default is announceSftDateInfo.

NameValueDescription
announceSftDateInfo0Information
announceSftDateSuccess1Success
announceSftDateWarning2Warning
announceSftDateError3Error

Assertive

Defines whether the announcement interrupts what the screen reader is saying (True) or waits until it is done (False, the default).

Comments

The Announce method raises a UI Automation notification event on the control, which screen readers such as Narrator and NVDA speak. An application uses it to tell the user something the control itself doesn't show, for example why a date was refused in the ValueValidating event. p Nothing happens if no UI Automation client is listening.

See Also SftCalendar Object | Object Hierarchy | Accessibility (Screen Readers)


Last Updated 11/29/2026 - (email)
© 2026 Softel vdm, Inc.