This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<FluentDialog aria-label="Dialog" Modal="true" hidden="@(!ShowDialog)"> | |
<div> | |
<FluentButton Appearance="Appearance.Neutral" @onclick="() => ShowDialog = false">ToggleDialog</FluentButton> | |
</div> | |
</FluentDialog> | |
<FluentButton Appearance="Appearance.Neutral" @onclick="() => ShowDialog = true">Toggle Dialog</FluentButton> | |
@code { | |
public bool ShowDialog { get; set; } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
public class C { | |
public int PageIndex { get; } | |
public C(int pageIndex = 1){ | |
PageIndex = pageIndex; | |
} | |
} |