Class TooltipHelper
Utility class for generating tool tips.
Namespace: SuperOffice.CRM
Assembly: SoDataBase.dll
Syntax
public static class TooltipHelper : Object
Methods
GetProjectTooltip(Project)
Get Tooltip for a project.
Declaration
public static string GetProjectTooltip(Project project)
Parameters
Type | Name | Description |
---|---|---|
Project | project | Project entity. |
Returns
Type | Description |
---|---|
String | Tooltip for the project. |
GetProjectTooltip(Int32)
Get Tooltip for a project.
Declaration
public static string GetProjectTooltip(int projectId)
Parameters
Type | Name | Description |
---|---|---|
Int32 | projectId | Primary key of the project. |
Returns
Type | Description |
---|---|
String | Tooltip for the project. |
GetProjectTooltip(String, String, String, Int32)
Get Tooltip for a project.
Declaration
public static string GetProjectTooltip(string name, string projectType, string text, int associateId)
Parameters
Type | Name | Description |
---|---|---|
String | name | Name of the project |
String | projectType | Name of the project type. |
String | text | Project text |
Int32 | associateId |
Returns
Type | Description |
---|---|
String | Tooltip for the project. |
GetProjectTooltip(String, String, String, String)
Get Tooltip for a project.
Declaration
public static string GetProjectTooltip(string name, string projectType, string text, string associateFullName)
Parameters
Type | Name | Description |
---|---|---|
String | name | Name of the project |
String | projectType | Name of the project type. |
String | text | Project text |
String | associateFullName | Full name of an associate (e.g. in most cases a user) |
Returns
Type | Description |
---|---|
String | Tooltip for the project. |
GetSelectionTooltip(Selection)
Get the tooltip for a selection.
Declaration
public static string GetSelectionTooltip(Selection entity)
Parameters
Type | Name | Description |
---|---|---|
Selection | entity | Entity to get the tooltip for. |
Returns
Type | Description |
---|---|
String | Tooltip for the selection. |
GetSelectionTooltip(String, String, Int32, Int32)
Get the tooltip for a selection.
Declaration
public static string GetSelectionTooltip(string name, string text, int searchCategoryId, int associateId)
Parameters
Type | Name | Description |
---|---|---|
String | name | Name of the selection. |
String | text | Text describing the selection. |
Int32 | searchCategoryId | id of search category (e.g. selection type). |
Int32 | associateId | Associate id of the selection's owner. |
Returns
Type | Description |
---|---|
String | Tooltip for the selection. |
GetSelectionTooltip(String, String, String, String)
Get the tooltip for a selection.
Declaration
public static string GetSelectionTooltip(string name, string text, string searchCategory, string associateFullName)
Parameters
Type | Name | Description |
---|---|---|
String | name | Name of the selection. |
String | text | Text describing the selection. |
String | searchCategory | search category (e.g. selection type). |
String | associateFullName | Full name of the selection's owner. |
Returns
Type | Description |
---|---|
String | Tooltip for the selection. |