Skip to content
Meisam Alifallhi edited this page Apr 18, 2022 · 1 revision

Basic

1

<Note Title="Note" Description="Importantant information"></Note>

Color

2

<Note Title="Note" Description="Importantant information" Color="Color.Info" />
<Note Title="Note" Description="Importantant information" Color="Color.Success" />
<Note Title="Note" Description="Importantant information" Color="Color.Warning" />
<Note Title="Note" Description="Importantant information" Color="Color.Danger" />
<Note Title="Note" Description="Importantant information" Color="Color.Dark" />

Border

3

<Note Title="Note" Description="Importantant information" NoteBorder="NoteBorder.Start"></Note>
<Note Title="Note" Description="Importantant information" NoteBorder="NoteBorder.Top"></Note>
<Note Title="Note" Description="Importantant information" NoteBorder="NoteBorder.End"></Note>
<Note Title="Note" Description="Importantant information" NoteBorder="NoteBorder.Bottom"></Note>

With Custom content

4

<Note Title="Note">
    <Div>
        <Paragraph>This is Custom Content</Paragraph>
        <Button Color="Color.Primary">Ok</Button>
        <Button Color="Color.Warning">Cancel</Button>
    </Div>
</Note>

Close Button

5

<Note Title="Note" Description="Importantant information" CloseButton></Note>

Visible binding

<Note Title="Note" Description="Importantant information" @bind-Visible="visible"></Note>

@code {
    bool visible=true;
Clone this wiki locally