EntityMetadata.EntityColor Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Gets or sets the hexadecimal code to represent the color to be used for this entity in the application.

Namespace:   Microsoft.Xrm.Sdk.Metadata
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

[DataMemberAttribute(Order = 71)]
public string EntityColor { get; set; }
<DataMemberAttribute(Order := 71)>
Public Property EntityColor As String

Property Value

Type: System.String

Type: String
The hexadecimal code to represent the color to be used for this entity in the application.

Remarks

The value must conform to the hexadecimal color code format, such as "#FF0000" (red).

See Also

EntityMetadata Class
Microsoft.Xrm.Sdk.Metadata Namespace
Query and edit an organization theme

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright