Avatar
Namespace: SlottyMedia.Components.Partial
public class Avatar : Microsoft.AspNetCore.Components.ComponentBase, Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleEvent, Microsoft.AspNetCore.Components.IHandleAfterRender
Inheritance Object → ComponentBase → Avatar
Implements IComponent, IHandleEvent, IHandleAfterRender
Properties
ChildContent
RenderFragment to render a pictogram into the avatar when a action should be done on clicking an avatar.
public RenderFragment ChildContent { get; set; }
Property Value
RenderFragment
OnClick
public EventCallback OnClick { get; set; }
Property Value
EventCallback
Class
Additional CSS classes to add to the avatar's container
public string Class { get; set; }
Property Value
Base64
Sets a Base64Png. Gets the currently set base64png variable if set. If not set it gets the path of the standard profile picture.
public string Base64 { get; set; }
Property Value
Constructors
Avatar()
public Avatar()
Methods
BuildRenderTree(RenderTreeBuilder)
protected void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder RenderTreeBuilder