EntityMetadata.EntityColor Property

 

Applies To: Dynamics CRM 2015

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; }
public:
[DataMemberAttribute(Order = 71)]
property String^ EntityColor {
    String^ get();
    void set(String^ value);
}
[<DataMemberAttribute(Order = 71)>]
member EntityColor : string with 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

© 2016 Microsoft. All rights reserved. Copyright