Table of Contents

Class DslWidget

Namespace: Casewhere.Runtime.DSL
Assembly: Casewhere.Runtime.dll

The DslWidget is corresponding to access widget in Casewhere system. It contains exposed data on a widget.

public abstract class DslWidget

Inheritance

objectDslWidget

Derived

DslCustomWidget, DslGridWidget, DslListWidget, DslTabContainerWidget, DslWorkflowContainerWidget

Inherited Members

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

Extension Methods

ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<DslWidget>(DslWidget)

Constructors

DslWidget()

protected DslWidget()

Properties

Actions

List of actions that associated with the widget

public IList<DslWidgetAction> Actions { get; set; }

Property Value

IList<DslWidgetAction>

Collapsible

Flag of the widget that indicates widget is collapsible or not.

public bool Collapsible { get; set; }

Property Value

bool

DataSourceId

DataSourceId specifies data source which the widget depend on.

public Guid DataSourceId { get; set; }

Property Value

Guid

EnableFiltering

Flag of the widget that indicates filtering is enable for this widget.

public bool EnableFiltering { get; set; }

Property Value

bool

EnableFullTextSearch

Flag of the widget that indicates full text search is enable for this widget.

public bool EnableFullTextSearch { get; set; }

Property Value

bool

EnableRefresh

Flag of the widget that indicates full text search is enable for this widget.

public bool EnableRefresh { get; set; }

Property Value

bool

Height

Height of the widget.

public string Height { get; set; }

Property Value

string

Id

Identifier of the widget.

public Guid Id { get; set; }

Property Value

Guid

Modes

public IList<string> Modes { get; set; }

Property Value

IList<string>

Name

Name of the widget.

public string Name { get; set; }

Property Value

string

ProductId

ProductId specifies product which the widget depend on.

public Guid ProductId { get; set; }

Property Value

Guid

ProjectFields

List of fields that projected on the widget.

public IList<string> ProjectFields { get; set; }

Property Value

IList<string>

Query

Query script of the widget.

public DslWidgetDataQuery Query { get; set; }

Property Value

DslWidgetDataQuery

RequireCaseContext

Flag of the widget that indicates widget required case context or not.

public bool RequireCaseContext { get; set; }

Property Value

bool

Reusable

Flag of the widget that indicates widget is reusable or not.

public bool Reusable { get; set; }

Property Value

bool

RowTemplate

public string RowTemplate { get; set; }

Property Value

string

ShowInPanel

Flag of the widget that indicates widget is shown in panel or not.

public bool ShowInPanel { get; set; }

Property Value

bool

Tags

The tags are attached to a widget

public IList<string> Tags { get; set; }

Property Value

IList<string>

Title

Title of the widget

public string Title { get; set; }

Property Value

string

Type

Type of the widget.

public abstract string Type { get; }

Property Value

string

Methods

GetWidgetType(string)

public static Type GetWidgetType(string widgetType)

Parameters

widgetType string

Returns

Type