Table of Contents

Class IndexCountWidget

Namespace
Dynamicweb.Dashboard.Widgets
Assembly
Dynamicweb.Core.dll

RepositoryGridWidget

[AddInName("Index count Widget")]
[AddInDescription("Show count of repository indexes")]
[AddInIcon(KnownIcon.Filter8)]
public class IndexCountWidget : ThresholdCountWidget, IParameterOptions
Inheritance
IndexCountWidget
Implements
Inherited Members

Constructors

IndexCountWidget()

Initializes a new instance of the class.

public IndexCountWidget()

Properties

Repository

Gets or sets repository

[AddInParameterGroup(" ")]
[AddInLabel("Repository")]
[AddInParameter("Repository")]
[AddInParameterEditor(typeof(DropDownParameterEditor), "SortBy=Key;none=true;nonetext=All;container=body")]
public string Repository { get; set; }

Property Value

string

StatusTypes

Types of statuses to display in the list.

[AddInParameterGroup(" ")]
[AddInLabel("Status type")]
[AddInParameter("StatusTypes")]
[AddInParameterEditor(typeof(CheckListParameterEditor), "inputclass=inputControl")]
public string StatusTypes { get; set; }

Property Value

string

Subtitle

Gets or sets widget subtitle

[AddInParameterGroup(" ")]
[AddInLabel("Subtitle")]
[AddInParameter("Subtitle")]
[AddInParameterEditor(typeof(TextParameterEditor), "size=80")]
public override string Subtitle { get; set; }

Property Value

string

Methods

GetCounterValue(out string)

Gets counter value

protected override double GetCounterValue(out string formattedValue)

Parameters

formattedValue string

When this method returns, contains the formated string value equivalent counted value

Returns

double

GetParameterOptions(string)

Gets parameteroptions

public override IEnumerable<ParameterOption> GetParameterOptions(string parameterName)

Parameters

parameterName string

Returns

IEnumerable<ParameterOption>

See Also

To top