Back to Devexpress

SchedulerControl.SelectedResourceProperty Field

wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulercontrol-d03d5150.md

latest2.7 KB
Original Source

SchedulerControl.SelectedResourceProperty Field

Identifies the SchedulerControl.SelectedResource dependency property.

Namespace : DevExpress.Xpf.Scheduling

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

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

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

Field Value

TypeDescription
DependencyProperty

A dependency property identifier.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SelectedResourceProperty 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#L25

csharp
}
if (e.Property == SchedulerControl.SelectedResourceProperty)
{

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

vb
If e.Property Is SchedulerControl.SelectedResourceProperty Then
    Me.OutputBox.AppendText(String.Format("SelectedResource is changed. New value is {0} " & Microsoft.VisualBasic.Constants.vbCrLf, CType(e.NewValue, ResourceItem).Caption))

See Also

SchedulerControl Class

SchedulerControl Members

DevExpress.Xpf.Scheduling Namespace