How can I help you?
Methods in .NET MAUI AI-Powered Scheduler (SfSmartScheduler)
The SfSmartScheduler supports the ResetAssistView, CloseAssistView and OpenAssistView methods to reset, close or open assist view programmatically.
Reset assist view
The SfSmartScheduler control provides the ResetAssistView method to reset assist view programmatically.
<Grid>
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition Height="50"/>
</Grid.RowDefinitions>
<smartScheduler:SfSmartScheduler x:Name="smartScheduler"/>
<Button Grid.Row="1" Text="Reset assistant" Clicked="Button_Clicked"/>
</Grid>private void Button_Clicked(object sender, EventArgs e)
{
this.smartScheduler.ResetAssistView();
}Close assist view
The SfSmartScheduler control provides the CloseAssistView method to close assist view programmatically.
<Grid>
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition Height="50"/>
</Grid.RowDefinitions>
<smartScheduler:SfSmartScheduler x:Name="smartScheduler"/>
<Button Grid.Row="1" Text="Close assistant" Clicked="Button_Clicked"/>
</Grid>private void Button_Clicked(object sender, EventArgs e)
{
this.smartScheduler.CloseAssistView();
}Open assist view
The SfSmartScheduler control provides the OpenAssistView method to open assist view programmatically.
<Grid>
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition Height="50"/>
</Grid.RowDefinitions>
<smartScheduler:SfSmartScheduler x:Name="smartScheduler"/>
<Button Grid.Row="1" Text="Open assistant" Clicked="Button_Clicked"/>
</Grid>private void Button_Clicked(object sender, EventArgs e)
{
this.smartScheduler.OpenAssistView();
}