英語で読む 編集

次の方法で共有


SendEmailButton Class

Definition

Use the SendEmailButton control in Lync Control applications to launch the user's preferred email program and compose an email to a selected contact.

C#
public class SendEmailButton : Microsoft.Lync.Controls.ContactButton
Inheritance

Remarks

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.

Constructors

SendEmailButton()

Initializes a new instance of the SendEmailButton class.

Fields

EmailAddressProperty

Identifies the EmailAddress dependency property.

SubjectProperty

Identifies the Subject dependency property.

Properties

Content

Gets or sets the content of this control.

(Inherited from ContactButton)
ContextMenu (Inherited from UCBase)
ContextualInformation

Gets or sets data structure which provides contextual information for use with the contextual conversation feature.

(Inherited from ContactBase)
DisplayName

Gets the display name of this contact or distribution group.

(Inherited from ContactBase)
EmailAddress

Gets the email address of the bound contact, as specified by the Source property.

InitializationError (Inherited from UCBase)
InitializationErrorMessage (Inherited from UCBase)
InitializationFailed (Inherited from UCBase)
IsButtonEnabled

Gets a boolean value which indicates or not the button contained in this control's template is enabled.

(Inherited from ContactButton)
IsContactModelOwner

Reserved for internal use.

(Inherited from ContactBase)
IsInResiliencyMode (Inherited from UCBase)
IsLoaded (Inherited from UCBase)
IsLoadedAndIsInVisualTree (Inherited from UCBase)
IsSignedIn (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.

UCClientModel (Inherited from UCBase)

Methods

ExtractTemplatePart<T>(String, Boolean) (Inherited from UCBase)
ExtractTemplatePart<T>(String) (Inherited from UCBase)
OnApplyTemplate()

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)
OnClientDisconnected()

Reserved for internal use.

(Inherited from ContactBase)
OnContactManagerPropertyChanged(IContactsAndGroupsManagerModel, IContactsAndGroupsManagerModel) (Inherited from UCBase)
OnContactPropertyChanged(IContactModel, String)

Reserved for internal use.

(Inherited from ContactBase)
OnContextualInformationChanged(ConversationContextualInfo, ConversationContextualInfo)

Reserved for internal use.

(Inherited from ContactBase)
OnCreateAutomationPeer()

Overrides the OnCreateAutomationPeer method to return the SendEmailButtonAutomationPeer object.

OnIsInResiliencyModePropertyChanged(Boolean, Boolean) (Inherited from UCBase)
OnIsSignedPropertyChanged(Boolean, Boolean)

Reserved for internal use.

(Inherited from ContactBase)
OnLoaded() (Inherited from UCBase)
OnPresenceItemsPropertyChanged(IPresenceItems, String)

Reserved for internal use.

OnSelfModelPropertyChanged(ISelfModel, ISelfModel) (Inherited from UCBase)
OnSourceChanged(Object, Object)

Reserved for internal use.

(Inherited from ContactBase)
OnUnloaded()

Reserved for internal use.

(Inherited from ContactBase)
UnwireModel(IContactModel)

Reserved for internal use.

(Inherited from ContactBase)
UnwirePresenceItems(IPresenceItems)

Reserved for internal use.

UnwireUCClient() (Inherited from UCBase)
WireModel(IContactModel)

Reserved for internal use.

(Inherited from ContactBase)
WirePresenceItems(IPresenceItems)

Reserved for internal use.

WireUCClient(IUCClientModel)

Reserved for internal use.

(Inherited from ContactBase)

Events

InitializationCompleted (Inherited from UCBase)
IsButtonEnabledChanged

Occurs when the IsButtonEnabled property changes.

(Inherited from ContactButton)

Applies to

製品 バージョン
Lync Silverlight latest
Lync WPF latest