Class TooltipPluginAttribute
Attribute used to mark a class as a Tooltip provider Plugin. Such classes need to implement the ITooltipProviderPlugin interface. The priority of the standard providers is set at int.MaxValue/2 to provide room both above and below. The name has no impact on functionality, but should be hept unique and traceable (such as partnerName:pluginName or some such syntax). The provider can optionally register for one or more tooltip hints it wishes to handle.
Inherited Members
Namespace: SuperOffice.CRM.Tooltips
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public class TooltipPluginAttribute : PrioritizedPluginAttribute
Constructors
TooltipPluginAttribute(string, int, params string[])
Mark a class as a Tooltip provider Plugin with the given name and priority. Standard providers have priority int.MaxValue/2.
Declaration
public TooltipPluginAttribute(string name, int priority, params string[] registerHints)
Parameters
Type | Name | Description |
---|---|---|
string | name | Provider name |
int | priority | Priority, lower values come before higher values |
string[] | registerHints | Set of hints to register for. If this is empty, the provider will be called for ALL tooltip requests and must filter by itself. If nonempty, the provider will be called only for requests that contain at least one of its registered hints. |
TooltipPluginAttribute(string, params string[])
Mark a class as a Tooltip provider Plugin with the given name and the standard priority of int.MaxValue/2.
Declaration
public TooltipPluginAttribute(string name, params string[] registerHints)
Parameters
Type | Name | Description |
---|---|---|
string | name | Provider name |
string[] | registerHints | Set of hints to register for. If this is empty, the provider will be called for ALL tooltip requests and must filter by itself. If nonempty, the provider will be called only for requests that contain at least one of its registered hints. |
Properties
RegisteredHints
Attribute used to mark a class as a Tooltip provider Plugin. Such classes need to implement the ITooltipProviderPlugin interface. The priority of the standard providers is set at int.MaxValue/2 to provide room both above and below. The name has no impact on functionality, but should be hept unique and traceable (such as partnerName:pluginName or some such syntax). The provider can optionally register for one or more tooltip hints it wishes to handle.
Declaration
public string[] RegisteredHints { get; }
Property Value
Type | Description |
---|---|
string[] |