Skip to main content

VisualAllDayAreaCell.IsEdgeItem Property

Gets or sets whether the current cell is a stub cell placed in the all-day area above the scrollbar.

Namespace: DevExpress.Xpf.Scheduler.Drawing

Assembly: DevExpress.Xpf.Scheduler.v21.2.dll


public bool IsEdgeItem { get; set; }

Property Value

Type Description

true if the cell is a last stub cell; otherwise, false.



You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

Use the IsEdgeItem property when creating a cell template for the all-day area cells. If you have to display an item (e.g. a checkbox) in a cell, you probably have to hide it in the stub cell above the scrollbar.

The following XAML snippet illustrates this approach:

<Style x:Key="{dxscht:DayViewThemeKey ResourceKey=AllDayAreaCellStyle}" TargetType="{x:Type dxschd:VisualAllDayAreaCell}" />
<Setter Property="Template">
    <ControlTemplate TargetType="{x:Type dxschd:VisualAllDayAreaCell}">
        <Grid dxsch:SchedulerControl.HitTestType="AllDayArea" IsHitTestVisible="True">
                <RowDefinition />
                <RowDefinition Height="Auto" />
            <dxe:CheckEdit IsReadOnly="True" 
                Visibility="{TemplateBinding IsEdgeItem, Converter={dx:BooleanToVisibilityConverter Invert=True}}" />
See Also