Table of Contents

Class MudChatBubble

Namespace
MudBlazor
Assembly
MudBlazor.dll

Represents the content displayed within a MudChat.

public class MudChatBubble : MudComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IMudStateHasChanged
Inheritance
MudChatBubble
Implements
Inherited Members
Extension Methods

Constructors

MudChatBubble()

public MudChatBubble()

Properties

ChildContent

Child content of component.

[Parameter]
[Category("Behavior")]
public RenderFragment? ChildContent { get; set; }

Property Value

RenderFragment

Classname

protected string Classname { get; }

Property Value

string

Color

The color of the component. It supports the theme colors.

[Parameter]
[Category("Appearance")]
public Color? Color { get; set; }

Property Value

Color?

ElementReference

The containing div Element Reference

public ElementReference ElementReference { get; }

Property Value

ElementReference

OnClick

Occurs when the chat bubble has been clicked.

[Parameter]
[Category("Behavior")]
public EventCallback<MouseEventArgs> OnClick { get; set; }

Property Value

EventCallback<MouseEventArgs>

OnContextClick

Occurs when the chat bubble has been right-clicked.

[Parameter]
[Category("Behavior")]
public EventCallback<MouseEventArgs> OnContextClick { get; set; }

Property Value

EventCallback<MouseEventArgs>

ParentArrowPosition

[CascadingParameter(Name = "MudChatArrowPosition")]
public ChatArrowPosition ParentArrowPosition { get; }

Property Value

ChatArrowPosition

ParentColor

[CascadingParameter(Name = "MudChatBubbleColor")]
public Color ParentColor { get; }

Property Value

Color

ParentVariant

[CascadingParameter(Name = "MudChatBubbleVariant")]
public Variant ParentVariant { get; }

Property Value

Variant

Variant

The color of the component. It supports the theme colors.

[Parameter]
[Category("Appearance")]
public Variant? Variant { get; set; }

Property Value

Variant?

Methods

BuildRenderTree(RenderTreeBuilder)

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder