Class MudChat
- Namespace
- MudBlazor
- Assembly
- MudBlazor.dll
public class MudChat : MudComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IMudStateHasChanged
- Inheritance
-
MudChat
- Implements
- Inherited Members
- Extension Methods
Constructors
MudChat()
public MudChat()
Properties
ArrowPosition
The Chat Bubble Arrow Position.
[Parameter]
[Category("Appearance")]
public ChatArrowPosition ArrowPosition { get; set; }
Property Value
Remarks
Defaults to Top
ChatPosition
Chat bubble position.
[Parameter]
[Category("Appearance")]
public ChatBubblePosition ChatPosition { get; set; }
Property Value
ChildContent
Child content of component.
[Parameter]
[Category("Behavior")]
public RenderFragment? ChildContent { get; set; }
Property Value
Classname
protected string Classname { get; }
Property Value
Color
Child chat bubbles default color, can be overridden by bubble.
[Parameter]
[Category("Appearance")]
public Color Color { get; set; }
Property Value
Dense
Gets or sets whether compact padding will be used.
[Parameter]
[Category("Appearance")]
public bool Dense { get; set; }
Property Value
Remarks
Defaults to false
.
Elevation
Gets or sets the size of the drop shadow.
[Parameter]
[Category("Appearance")]
public int Elevation { get; set; }
Property Value
Remarks
Defaults to 0
. A higher number creates a heavier drop shadow. Use a value of 0
for no shadow.
RightToLeft
[CascadingParameter(Name = "RightToLeft")]
public bool RightToLeft { get; }
Property Value
Square
Gets or sets whether rounded corners are disabled.
[Parameter]
[Category("Appearance")]
public bool Square { get; set; }
Property Value
Remarks
Defaults to false
.
Can be overridden by Rounded.
Variant
Gets or sets the display variant to use.
[Parameter]
[Category("Appearance")]
public Variant Variant { get; set; }
Property Value
Remarks
Defaults to Text. The variant changes the appearance of the chat bubbles, such as Text
, Outlined
, or Filled
.
Methods
BuildRenderTree(RenderTreeBuilder)
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder