SendEmailButton Class
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.
Use the SendEmailButton control in Lync Control applications to launch the user's preferred email program and compose an email to a selected contact.
public ref class SendEmailButton : Microsoft::Lync::Controls::ContactButton
public class SendEmailButton : Microsoft.Lync.Controls.ContactButton
type SendEmailButton = class
inherit ContactButton
Public Class SendEmailButton
Inherits ContactButton
- Inheritance
The selected contact must have an email address exposed in order for this feature to work. Optionally, you can specify a subject for the email as well. The control is designed to mimic the functionality provided by the corresponding button on the Quick Connect toolbar of the ContactCard. As such, it must be bound to a contact using the Source property before it can be used. When clicked, it launches the Microsoft Outlook dialog to initiate the desired action with that contact. This button is not a general purpose Outlook Integration tool. It is intended to be used together with other Lync Controls to provide a full set of collaboration options for interacting with a specific contact or distribution group. Despite the fact that no Lync functionality is actually used here, this control leverages the binding model of the other Lync Controls to provide the full scope of features accessible on the ContactCard quick-connect toolbar.
Send |
Initializes a new instance of the SendEmailButton class. |
Email |
Identifies the EmailAddress dependency property. |
Subject |
Identifies the Subject dependency property. |
Content |
Gets or sets the content of this control. (Inherited from ContactButton) |
Context |
(Inherited from UCBase) |
Contextual |
Gets or sets data structure which provides contextual information for use with the contextual conversation feature. (Inherited from ContactBase) |
Display |
Gets the display name of this contact or distribution group. (Inherited from ContactBase) |
Email |
Gets the email address of the bound contact, as specified by the Source property. |
Initialization |
(Inherited from UCBase) |
Initialization |
(Inherited from UCBase) |
Initialization |
(Inherited from UCBase) |
Is |
Gets a boolean value which indicates or not the button contained in this control's template is enabled. (Inherited from ContactButton) |
Is |
Reserved for internal use. (Inherited from ContactBase) |
Is |
(Inherited from UCBase) |
Is |
(Inherited from UCBase) |
Is |
(Inherited from UCBase) |
Is |
(Inherited from UCBase) |
Model |
Reserved for internal use. (Inherited from ContactBase) |
Source |
Specifies a contact or distribution group to which this control should be bound. (Inherited from ContactBase) |
Subject |
Gets or sets the email subject. |
UCClient |
(Inherited from UCBase) |
Extract |
(Inherited from UCBase) |
Extract |
(Inherited from UCBase) |
On |
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in an application. (Inherited from ContactButton) |
On |
Reserved for internal use. (Inherited from ContactBase) |
On |
(Inherited from UCBase) |
On |
Reserved for internal use. (Inherited from ContactBase) |
On |
Reserved for internal use. (Inherited from ContactBase) |
On |
Overrides the OnCreateAutomationPeer method to return the SendEmailButtonAutomationPeer object. |
On |
(Inherited from UCBase) |
On |
Reserved for internal use. (Inherited from ContactBase) |
On |
(Inherited from UCBase) |
On |
Reserved for internal use. |
On |
(Inherited from UCBase) |
On |
Reserved for internal use. (Inherited from ContactBase) |
On |
Reserved for internal use. (Inherited from ContactBase) |
Unwire |
Reserved for internal use. (Inherited from ContactBase) |
Unwire |
Reserved for internal use. |
Unwire |
(Inherited from UCBase) |
Wire |
Reserved for internal use. (Inherited from ContactBase) |
Wire |
Reserved for internal use. |
Wire |
Reserved for internal use. (Inherited from ContactBase) |
Initialization |
(Inherited from UCBase) |
Is |
Occurs when the IsButtonEnabled property changes. (Inherited from ContactButton) |
製品 | バージョン |
---|---|
Lync Silverlight | latest |
Lync WPF | latest |