Table of Contents

Class ItemFactBoxDef

Namespace
Tripous.Data
Assembly
Tripous.Data.dll

Describes a readonly contextual FactBox for an item page.

public class ItemFactBoxDef : BaseDef, IDef, IJsonLoadable, INotifyPropertyChanged
Inheritance
ItemFactBoxDef
Implements
Inherited Members
Extension Methods

Constructors

ItemFactBoxDef()

Constructor.

public ItemFactBoxDef()

Properties

DesktopControlClassName

The desktop control class name that renders this FactBox.

public string DesktopControlClassName { get; set; }

Property Value

string

IsVisible

Indicates whether this FactBox is visible by default.

public bool IsVisible { get; set; }

Property Value

bool

ProviderClassName

The provider class name that gathers or calculates the FactBox data.

public string ProviderClassName { get; set; }

Property Value

string

WebViewName

The WebDesk Razor partial view name or path that renders this FactBox.

When empty, the generic WebDesk server renderer is used.

public string WebViewName { get; set; }

Property Value

string

Methods

CreateProvider()

Creates the provider described by this definition, if any.

public ItemFactBoxProvider CreateProvider()

Returns

ItemFactBoxProvider

The provider instance or null.