Back to Devexpress

DxSchedulerViewNavigatorToolbarItem Class

blazor-devexpress-dot-blazor-f45f3cd3.md

latest3.3 KB
Original Source

DxSchedulerViewNavigatorToolbarItem Class

The drop-down item that allows you to to switch between views.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public class DxSchedulerViewNavigatorToolbarItem :
    SchedulerToolbarItemBase

Remarks

If you configured more than one view, the Scheduler component displays the View Navigator button. This button invokes a drop-down window with available views.

The DxSchedulerTodayToolbarItem partly supports toolbar item functionality. Refer to the following list for additional information on available options: API Reference.

Note that View Navigator items begin a new group by default and set their alignment to Right, unlike standard toolbar items.

PropertyToolbar Item Default ValueView Navigator Default Value
AlignmentToolbarItemAlignment.LeftToolbarItemAlignment.Right
BeginGroupfalsetrue

The following example creates a group that includes Resource and View Navigator buttons:

razor
<DxScheduler @bind-StartDate="@StartDate"
              DataStorage="@DataStorage"
              GroupType="SchedulerGroupType.Resource">
     <Views>
         <DxSchedulerDayView DayCount="2" ShowWorkTimeOnly="true" />
         <DxSchedulerWorkWeekView />
     </Views>
     <ToolbarItems>
         <DxSchedulerTodayToolbarItem />
         <DxSchedulerResourceNavigatorToolbarItem />
         <DxSchedulerViewNavigatorToolbarItem BeginGroup="false" />
     </ToolbarItems>
 </DxScheduler>

Implements

IComponent

IHandleEvent

IHandleAfterRender

IAsyncDisposable

Inheritance

Object ComponentBase DxComponentBase DxModelComponent DxToolbarItemBase DxToolbarItem DevExpress.Blazor.Scheduler.Internal.SchedulerToolbarItemBase DxSchedulerViewNavigatorToolbarItem

See Also

DxSchedulerViewNavigatorToolbarItem Members

DevExpress.Blazor Namespace