Class RadzenImage
RadzenImage component.
Implements
IDisposable
Inherited Members
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenImage : RadzenComponentWithChildren, IDisposable
Examples
<RadzenImage Path="someimage.png" />
Properties
AlternateText
Gets or sets the text.
Declaration
public string AlternateText { get; set; }
Property Value
Type | Description |
---|---|
System.String | The text. |
Click
Gets or sets the click callback.
Declaration
public EventCallback<MouseEventArgs> Click { get; set; }
Property Value
Type | Description |
---|---|
EventCallback<MouseEventArgs> | The click callback. |
Path
Gets or sets the path.
Declaration
public string Path { get; set; }
Property Value
Type | Description |
---|---|
System.String | The path. |
Methods
OnClick(MouseEventArgs)
Handles the Click event.
Declaration
protected async System.Threading.Tasks.Task OnClick(MouseEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
MouseEventArgs | args | The |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Implements
IDisposable