Back to Devexpress

DxSchedulerMonthView.LastAppointmentIndent Property

blazor-devexpress-dot-blazor-dot-dxschedulermonthview-6c8c18f4.md

latest1.8 KB
Original Source

DxSchedulerMonthView.LastAppointmentIndent Property

Specifies the indent from the last appointment to the cell border in the month view.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[DefaultValue(15)]
[Parameter]
public int LastAppointmentIndent { get; set; }

Property Value

TypeDefaultDescription
Int3215

The indent in pixels. The value should be greater than 0; otherwise, the default value is used.

|

Remarks

The Scheduler component adjusts cell height to display all appointments and other elements, such as resource caption or space reserved for creating new appointments. In the following image, an appointment occupies almost the entire vertical space. The Scheduler adds an indent to allocate space for a cell click.

Use the LastAppointmentIndent property to adjust the indent value. The following code snippet sets LastAppointmentIndent to 5:

razor
<DxScheduler @bind-StartDate="@StartDate"
             DataStorage="@DataStorage"
             GroupType="SchedulerGroupType.Date">
    <DxSchedulerMonthView CellMinWidth="120" 
                          LastAppointmentIndent="5" />
</DxScheduler>

See Also

DxSchedulerMonthView Class

DxSchedulerMonthView Members

DevExpress.Blazor Namespace