New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Kendo UI LinearGaugeScaleLabelsSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class LinearGaugeScaleLabelsSettings

Inheritance: objectLinearGaugeScaleLabelsSettings

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public LinearGaugeScaleLabelsSettings()

Properties

The background color of the labels. Any valid CSS color string will work here, including hex and rgb

C#
public string Background { get; set; }

The border of the labels.

C#
public LinearGaugeScaleLabelsBorderSettings Border { get; }

The text color of the labels. Any valid CSS color string will work here, including hex and rgb.

C#
public string Color { get; set; }

The font style of the labels.

C#
public string Font { get; set; }

The format of the labels.

C#
public string Format { get; set; }

LinearGauge member.

C#
public LinearGauge LinearGauge { get; set; }

The margin of the labels.

C#
public LinearGaugeScaleLabelsMarginSettings Margin { get; }

Gets or sets the label opacity.

C#
public double? Opacity { get; set; }
Property Value:

The label opacity.

The padding of the labels.

C#
public LinearGaugeScaleLabelsPaddingSettings Padding { get; }

The label template. Template variables: value - the value.

C#
public string Template { get; set; }

The handler that returns the template used for Template

C#
public string TemplateHandler { get; set; }

The id of the script element used for Template

C#
public string TemplateId { get; set; }

The visibility of the labels.

C#
public bool? Visible { get; set; }

Methods

Serialize method.

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>