UrlFormatterAttribute class
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Sets formatting type to "Url"
[AttributeUsage(AttributeTargets.All)]
public class UrlFormatterAttribute : CustomFormatterAttribute
Public Members
| name | description |
|---|---|
| UrlFormatterAttribute() | Initializes a new instance of the UrlFormatterAttribute class. |
| DisplayFormat { get; set; } | Gets or sets the display format. |
| DisplayProperty { get; set; } | Gets or sets the display property to show in hyperlink as text. |
| Target { get; set; } | Gets or sets the target window, e.g. "_blank". |
| UrlFormat { get; set; } | Gets or sets the URL format. |
| UrlProperty { get; set; } | Gets or sets the URL property. |
| const Key | Formatter type key |
See Also
- class CustomFormatterAttribute
- Source: BasicFormatterTypes.cs