Back to Devexpress

DxSchedulerResourceNavigatorToolbarItem Class

blazor-devexpress-dot-blazor-6ac5e05f.md

latest3.5 KB
Original Source

DxSchedulerResourceNavigatorToolbarItem Class

The drop-down item that allows you to display or hide resources.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public class DxSchedulerResourceNavigatorToolbarItem :
    SchedulerToolbarItemBase

Remarks

The Scheduler components displays the Resource Navigator toolbar item if you set up resources in your component. This button allows you to invoke a drop-down menu with resource groups. Use this menu to toggle the visibility of resource groups.

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

Note that Resource Navigator items change a few default property values compared to standard toolbar items:

PropertyToolbar Item Default ValueResource Navigator Default Value
AlignmentToolbarItemAlignment.LeftToolbarItemAlignment.Right
BeginGroupfalsetrue
Tooltip""Scheduler_ResourcesButton

The following example disables the Recource Navigator button:

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

Implements

IComponent

IHandleEvent

IHandleAfterRender

IAsyncDisposable

Inheritance

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

See Also

DxSchedulerResourceNavigatorToolbarItem Members

DevExpress.Blazor Namespace