Back to Devexpress

DxSchedulerSourceObjectContainer.Id Property

blazor-devexpress-dot-blazor-dot-dxschedulersourceobjectcontainer.md

latest1.7 KB
Original Source

DxSchedulerSourceObjectContainer.Id Property

Specifies the item ID.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public object Id { get; set; }

Property Value

TypeDescription
Object

The item ID.

|

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

blazor-scheduler-custom-form/CS/DxBlazorApplication1/Components/Pages/Index.razor.cs#L97

csharp
private async Task OnAppointmentRemoved(DxSchedulerAppointmentItem e) {
    await AptService.DeleteAppointmentAsync((int)e.Id);
    Storage.RefreshData();

See Also

DxSchedulerSourceObjectContainer Class

DxSchedulerSourceObjectContainer Members

DevExpress.Blazor Namespace