VisualDayViewGroupByDate.MoreButtonGoUpCommand Property
Gets a command executed when the More button with the upward pointing arrow is clicked. For internal use.
Namespace: DevExpress.Xpf.Scheduler.Drawing
Assembly: DevExpress.Xpf.Scheduler.v19.1.dll
Declaration
Property Value
Type | Description |
---|---|
ICommand | An object with the ICommand interface that is the command to be executed. |
Remarks
Important
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.
You can modify a Day View template to assign another command to the More button.
Example
Note
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-customize-dayview-with-a-custom-template-and-by-handling-a-specific-event-t411679.
<dxschd:DayViewMoreButton x:Name="TimeRulerGoUpButton" VerticalAlignment="Top" HorizontalAlignment="Right" Margin="0,2,1,0"
Style="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=View.MoreButtonUpStyle}"
Command="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=MoreButtonGoUpCommand}"
CommandParameter="{Binding ElementName=TimeRulersScrollViewer}">
<dxschd:DayViewMoreButton.Visibility>
<MultiBinding Converter="{dxschd:LogicalAndToVisibilityMultiValueConverter}">
<Binding RelativeSource="{RelativeSource Self}" Path="IsEnabled"/>
<Binding Path="IsMoreButtonsOnTimeRulerVisible" RelativeSource="{RelativeSource TemplatedParent}"/>
</MultiBinding>
</dxschd:DayViewMoreButton.Visibility>
</dxschd:DayViewMoreButton>
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the MoreButtonGoUpCommand property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.