Property | Type | Description | |
---|---|---|---|
LinkPickerItem | System |
Method | Description | |
---|---|---|
GetFromContent ( IPublishedContent content ) : |
Initializes a new link picker item from an instance of IPublishedContent representing a content item.
|
|
GetFromMedia ( IPublishedContent media ) : |
Initializes a new link picker item from an instance of IPublishedContent representing a media item.
|
|
GetFromUrl ( string url, string name = null, string target = null ) : |
Initializes a new link picker item from the specified
|
|
LinkPickerItem ( int id, string name, string url, string target, LinkPickerMode mode ) : System |
Initializes a new link picker item.
|
|
Parse ( Newtonsoft.Json.Linq.JObject obj ) : |
Parses the specified
|
Method | Description | |
---|---|---|
GetCalculatedUrl ( ) : string |
Method | Description | |
---|---|---|
LinkPickerItem ( ) : System |
public static GetFromContent ( IPublishedContent content ) : |
||
content | IPublishedContent | An instance of |
return |
public static GetFromMedia ( IPublishedContent media ) : |
||
media | IPublishedContent | An instance of |
return |
public static GetFromUrl ( string url, string name = null, string target = null ) : |
||
url | string | The URL of the link. |
name | string | The name (text) of the link. |
target | string | The target of the link. |
return |
public LinkPickerItem ( int id, string name, string url, string target, LinkPickerMode mode ) : System | ||
id | int | The ID of the content or media item. |
name | string | The name (text) of the link. |
url | string | The URL of the link. |
target | string | The target of the link. |
mode | LinkPickerMode | The mode of the link - either |
return | System |
public static Parse ( Newtonsoft.Json.Linq.JObject obj ) : |
||
obj | Newtonsoft.Json.Linq.JObject | The instance of |
return |