File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed
CodeBeam.MudExtensions/Components/Stepper
ComponentViewer.Docs/Pages/Components Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ protected internal async Task SetActiveIndex(MudStep step)
193193 await ActiveStepChanged . InvokeAsync ( ) ;
194194 }
195195
196- protected internal async Task SetActiveIndex ( int count , bool firstCompleted = false , bool skipPreventProcess = false )
196+ public async Task SetActiveIndex ( int count , bool firstCompleted = false , bool skipPreventProcess = false )
197197 {
198198 var stepChangeDirection = (
199199 count == 0 ? StepChangeDirection . None :
Original file line number Diff line number Diff line change 11@page " /api"
22@using MudBlazor .Extensions
3+ @using System .Text .RegularExpressions
34@using System .Security .Cryptography .X509Certificates
45
56<ExamplePage Title =" API" >
403404 </ExampleCard >
404405
405406 <ExampleCard Title =" Api - MudStepper & MudStep" HasExpansionPanel =" true" >
407+ <MudText Class =" ma-2" Typo =" Typo.h6" Color =" Color.Secondary" >Properties</MudText >
406408 <MudTable Items =" @(typeof(MudStepper).GetProperties().Where(x => x.Name != " FieldId " && x.Name != " UserAttributes " ).OrderBy(x => x.Name).ToList())" >
407409 <HeaderContent >
408410 <MudTh >Name</MudTh >
421423 </MudTd >
422424 </RowTemplate >
423425 </MudTable >
426+ <MudText Class =" ma-2" Typo =" Typo.h6" Color =" Color.Secondary" >Methods</MudText >
427+ <MudTable Items =" @(typeof(MudStepper).GetMethods().Where(x => x.Name != " SetParametersAsync " && Regex.IsMatch(x.Name[0].ToString(), " [A-Z] " )).OrderBy(x => x.Name).ToList())" >
428+ <HeaderContent >
429+ <MudTh >Name</MudTh >
430+ <MudTh >Type</MudTh >
431+ <MudTh >Default</MudTh >
432+ </HeaderContent >
433+ <RowTemplate >
434+ <MudTd >@context.Name </MudTd >
435+ <MudTd >@context.ReturnType.Name </MudTd >
436+ <MudTd >
437+ @if (true )
438+ {
439+ MudStepper instance = new ();
440+ @* <MudText Typo="Typo.body2">@(context(instance)?.ToString() ?? "null")</MudText>*@
441+ }
442+ </MudTd >
443+ </RowTemplate >
444+ </MudTable >
424445 <MudText Class =" ma-4" Typo =" Typo.h6" Color =" Color.Secondary" >MudStep</MudText >
425446 <MudTable Items =" @(typeof(MudStep).GetProperties().Where(x => x.Name != " FieldId " && x.Name != " UserAttributes " ).OrderBy(x => x.Name).ToList())" >
426447 <HeaderContent >
You can’t perform that action at this time.
0 commit comments