Class RadzenLink
RadzenLink component.
public class RadzenLink : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
- Inheritance
-
RadzenLink
- Implements
- Inherited Members
Examples
<RadzenLink Path="https://www.radzen.com" Text="Go to url" Target="_blank" />
Constructors
RadzenLink()
public RadzenLink()
Properties
ChildContent
Gets or sets the child content.
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
- RenderFragment
The child content.
Icon
Gets or sets the icon.
[Parameter]
public string Icon { get; set; }
Property Value
- string
The icon.
IconColor
Gets or sets the icon color.
[Parameter]
public string IconColor { get; set; }
Property Value
- string
The icon color.
Image
Gets or sets the image.
[Parameter]
public string Image { get; set; }
Property Value
- string
The image.
ImageAlternateText
Gets or sets the text.
[Parameter]
public string ImageAlternateText { get; set; }
Property Value
- string
The text.
Match
Gets or sets the navigation link match.
[Parameter]
public NavLinkMatch Match { get; set; }
Property Value
- NavLinkMatch
The navigation link match.
Path
Gets or sets the path.
[Parameter]
public string Path { get; set; }
Property Value
- string
The path.
Target
Gets or sets the target.
[Parameter]
public string Target { get; set; }
Property Value
- string
The target.
Text
Gets or sets the text.
[Parameter]
public string Text { get; set; }
Property Value
- string
The text.
Methods
BuildRenderTree(RenderTreeBuilder)
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder
GetComponentCssClass()
protected override string GetComponentCssClass()