Back to Devexpress

ResourceExtension.GetColor(Resource) Method

windowsforms-devexpress-dot-xtrascheduler-dot-resourceextension-dot-getcolor-x28-devexpress-dot-xtrascheduler-dot-resource-x29.md

latest1.7 KB
Original Source

ResourceExtension.GetColor(Resource) Method

Obtains a color assigned to the specified resource.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
public static Color GetColor(
    this Resource resource
)
vb
<ExtensionAttribute>
Public Shared Function GetColor(
    resource As Resource
) As Color

Parameters

NameTypeDescription
resourceResource

A Resource object that is the resource whose color is obtained.

|

Returns

TypeDescription
Color

A Color object that is the color assigned to the resource.

|

See Also

SetColor(Resource, Color)

ResourceExtension Class

ResourceExtension Members

DevExpress.XtraScheduler Namespace