Back to Devexpress

SchedulerControl.SelectedIntervalProperty Field

wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulercontrol-5b1282e5.md

latest2.8 KB
Original Source

SchedulerControl.SelectedIntervalProperty Field

Identifies the SchedulerControl.SelectedInterval dependency property.

Namespace : DevExpress.Xpf.Scheduling

Assembly : DevExpress.Xpf.Scheduling.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public static readonly DependencyProperty SelectedIntervalProperty
vb
Public Shared ReadOnly SelectedIntervalProperty As DependencyProperty

Field Value

TypeDescription
DependencyProperty

A dependency property identifier.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SelectedIntervalProperty field.

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.

wpf-scheduler-obtain-selected-appointment-resource-and-time-interval/CS/DXSchedulerSelection/MainWindow.xaml.cs#L20

csharp
SchedulerControl scheduler = sender as SchedulerControl;
if (e.Property == SchedulerControl.SelectedIntervalProperty)
{

wpf-scheduler-obtain-selected-appointment-resource-and-time-interval/VB/DXSchedulerSelection/MainWindow.xaml.vb#L19

vb
Dim scheduler As SchedulerControl = TryCast(sender, SchedulerControl)
If e.Property Is SchedulerControl.SelectedIntervalProperty Then
    Me.OutputBox.AppendText(String.Format("SelectedInterval is changed. New value is {0} " & Microsoft.VisualBasic.Constants.vbCrLf, e.NewValue))

See Also

SchedulerControl Class

SchedulerControl Members

DevExpress.Xpf.Scheduling Namespace