corelibraries-devexpress-dot-xtrascheduler-dot-resourcemappinginfo-bd99bc78.md
Gets or sets the data field to which a resource image is bound.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.Core.dll
NuGet Package : DevExpress.Scheduler.Core
[DefaultValue("")]
public virtual string Image { get; set; }
<DefaultValue("")>
Public Overridable Property Image As String
| Type | Default | Description |
|---|---|---|
| String | String.Empty |
A String value that specifies the name of the bound data field.
|
Use the Image property to bind a resource’s ImageBytes property to a data field. The data field is obtained from the data source specified by the PersistentObjectStorage<T>.DataSource property of the ResourceStorage.
The following code snippets (auto-collected from DevExpress Examples) contain references to the Image 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.
winforms-scheduler-mapping-converters/CS/SchedulerMappingConverterExample/Form1.cs#L64
schedulerStorage1.Resources.Mappings.Id = "ResourceID";
schedulerStorage1.Resources.Mappings.Image = "Image";
winforms-scheduler-data-binding-entity-framework-code-first/CS/XtraSchedulerEFTest/Form1.cs#L37
this.schedulerStorage1.Resources.Mappings.Id = "ResourceID";
this.schedulerStorage1.Resources.Mappings.Image = "Image";
#endregion #resmappings
winforms-scheduler-linq-to-sql/CS/XtraScheduler_LINQ/Form1.cs#L41
resStorage.Mappings.Caption = "Model";
resStorage.Mappings.Image = "Picture";
}
winforms-scheduler-bind-to-xpo/CS/XPO_XtraScheduler_Simple_Example/Form1.cs#L68
this.schedulerDataStorage1.Resources.Mappings.Id = "Oid";
this.schedulerDataStorage1.Resources.Mappings.Image = "Image";
}
winforms-scheduler-bind-xpo-multi-resource-appointments/CS/XPO_MultiResource_Example/Form1.cs#L45
this.schedulerDataStorage1.Resources.Mappings.Id = "ResId";
this.schedulerDataStorage1.Resources.Mappings.Image = "Image";
}
winforms-scheduler-mapping-converters/VB/SchedulerMappingConverterExample/Form1.vb#L66
schedulerStorage1.Resources.Mappings.Id = "ResourceID"
schedulerStorage1.Resources.Mappings.Image = "Image"
winforms-scheduler-data-binding-entity-framework-code-first/VB/XtraSchedulerEFTest/Form1.vb#L36
Me.schedulerStorage1.Resources.Mappings.Id = "ResourceID"
Me.schedulerStorage1.Resources.Mappings.Image = "Image"
' #End Region ' #resmappings
winforms-scheduler-linq-to-sql/VB/XtraScheduler_LINQ/Form1.vb#L42
resStorage.Mappings.Caption = "Model"
resStorage.Mappings.Image = "Picture"
End Sub
winforms-scheduler-bind-to-xpo/VB/XPO_XtraScheduler_Simple_Example/Form1.vb#L68
Me.schedulerDataStorage1.Resources.Mappings.Id = "Oid"
Me.schedulerDataStorage1.Resources.Mappings.Image = "Image"
End Sub
winforms-scheduler-bind-xpo-multi-resource-appointments/VB/XPO_MultiResource_Example/Form1.vb#L47
Me.schedulerDataStorage1.Resources.Mappings.Id = "ResId"
Me.schedulerDataStorage1.Resources.Mappings.Image = "Image"
End Sub
See Also