Class ActivityTypeTooltipPlugin
Tooltip plugin for activity type - such as meeting type. This tooltip shows the full name of the type, as well as the tooltip if it is different from the name. If the appointment is a booking (master/slave), then a list of participating associates, resources and external persons is shown as well.
Inherited Members
Namespace: SuperOffice.CRM.Tooltips
Assembly: SoDataBase.BusinessLogic.dll
Syntax
[TooltipPlugin("SuperOffice:activityType", new string[] { "appointmentType", "documentType" })]
public class ActivityTypeTooltipPlugin : TooltipPluginBase
Remarks
The ParticipantsProvider is used to fetch participants, including conflicts and accepted/rejected status. The seen status is reflected in the lead-in character before each name (+, -, ? or blank), while the conflict marker text is simply appended. Only the first MAX_PARTICIPANTS rows are shown, and an overflow marker if more rows exist.
Constructors
ActivityTypeTooltipPlugin()
Tooltip plugin for activity type - such as meeting type. This tooltip shows the full name of the type, as well as the tooltip if it is different from the name. If the appointment is a booking (master/slave), then a list of participating associates, resources and external persons is shown as well.
Declaration
public ActivityTypeTooltipPlugin()
Remarks
The ParticipantsProvider is used to fetch participants, including conflicts and accepted/rejected status. The seen status is reflected in the lead-in character before each name (+, -, ? or blank), while the conflict marker text is simply appended. Only the first MAX_PARTICIPANTS rows are shown, and an overflow marker if more rows exist.
Fields
AppointmentTypeKey
Tooltip plugin for activity type - such as meeting type. This tooltip shows the full name of the type, as well as the tooltip if it is different from the name. If the appointment is a booking (master/slave), then a list of participating associates, resources and external persons is shown as well.
Declaration
public const string AppointmentTypeKey = "appointmentType"
Field Value
Type | Description |
---|---|
string |
Remarks
The ParticipantsProvider is used to fetch participants, including conflicts and accepted/rejected status. The seen status is reflected in the lead-in character before each name (+, -, ? or blank), while the conflict marker text is simply appended. Only the first MAX_PARTICIPANTS rows are shown, and an overflow marker if more rows exist.
DocumentTypeKey
Tooltip plugin for activity type - such as meeting type. This tooltip shows the full name of the type, as well as the tooltip if it is different from the name. If the appointment is a booking (master/slave), then a list of participating associates, resources and external persons is shown as well.
Declaration
public const string DocumentTypeKey = "documentType"
Field Value
Type | Description |
---|---|
string |
Remarks
The ParticipantsProvider is used to fetch participants, including conflicts and accepted/rejected status. The seen status is reflected in the lead-in character before each name (+, -, ? or blank), while the conflict marker text is simply appended. Only the first MAX_PARTICIPANTS rows are shown, and an overflow marker if more rows exist.
Methods
InnerGetTooltipAsync(CancellationToken)
Subclass contract: derived class must implement their tooltip logicin this method.
Declaration
protected override Task<string> InnerGetTooltipAsync(CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<string> | Tooltip text, or an empty string |
Overrides
Remarks
The tooltip hints are accessible through the Hints property, but clients should usually find the provided access methods sufficient. TryGetIntHint(string, out int), TryGetStringHint(string, out string) and TryGetBoolHint(string, out bool) look for and parse the given type of key, and return a bool value that specifies whether the given key was found.