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
Classname
protected string Classname { get; }
Property Value
Color
The color of the component. It supports the theme colors.
[Parameter]
[Category("Appearance")]
public Color? Color { get; set; }
Property Value
ElementReference
The containing div Element Reference
public ElementReference ElementReference { get; }
Property Value
OnClick
Occurs when the chat bubble has been clicked.
[Parameter]
[Category("Behavior")]
public EventCallback<MouseEventArgs> OnClick { get; set; }
Property Value
OnContextClick
Occurs when the chat bubble has been right-clicked.
[Parameter]
[Category("Behavior")]
public EventCallback<MouseEventArgs> OnContextClick { get; set; }
Property Value
ParentArrowPosition
[CascadingParameter(Name = "MudChatArrowPosition")]
public ChatArrowPosition ParentArrowPosition { get; }
Property Value
ParentColor
[CascadingParameter(Name = "MudChatBubbleColor")]
public Color ParentColor { get; }
Property Value
ParentVariant
[CascadingParameter(Name = "MudChatBubbleVariant")]
public Variant ParentVariant { get; }
Property Value
Variant
The color of the component. It supports the theme colors.
[Parameter]
[Category("Appearance")]
public Variant? Variant { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder