Skip to main content

ASPxCloudControl.MinColor Property

Gets or sets the text color of the most unpopular item(s).

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.2.dll

NuGet Package: DevExpress.Web


[DefaultValue(typeof(Color), "#747a93")]
public Color MinColor { get; set; }

Property Value

Type Default Description
Color "#747a93"

A Color structure that specifies the text color of the most unpopular item(s).


Each item has an associated weight specified by its CloudControlItem.Value property (unbound mode) or provided by the data source field specified by the ASPxCloudControl.ValueField property (bound mode). Unpopular items have a lower weight and smaller font size. The MinColor property specifies the text color of the most unpopular item(s).


The following sample code demonstrates how to customize the appearance of the ASPxCloudControl control.

<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register assembly="DevExpress.Web.v8.3, Version=, Culture=neutral, 
PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxCloudControl" tagprefix="dxcc" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 

<script runat="server">
    protected void Page_Load(object sender, EventArgs e) {

        ASPxCloudControl ASPxCloudControl1 = new ASPxCloudControl();
        CloudControlItem Item1 = new CloudControlItem("Home", 20, "/home");
        CloudControlItem Item2 = new CloudControlItem("Products", 5, "/products");
        CloudControlItem Item3 = new CloudControlItem("Contacts", 10, "/contacts");

        ASPxCloudControl1.ItemBeginText = "{";
        ASPxCloudControl1.ItemEndText = "}";
        ASPxCloudControl1.ItemBeginEndTextColor = System.Drawing.Color.Brown;

        ASPxCloudControl1.MaxColor = System.Drawing.Color.Red;
        ASPxCloudControl1.MinColor = System.Drawing.Color.Green;

        ASPxCloudControl1.LinkStyle.HoverColor = System.Drawing.Color.Pink;

<html xmlns="">
<head runat="server">
    <title>Untitled Page</title>
    <form id="form1" runat="server">

See Also