Class ItemFactBoxDef
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
IsVisible
Indicates whether this FactBox is visible by default.
public bool IsVisible { get; set; }
Property Value
ProviderClassName
The provider class name that gathers or calculates the FactBox data.
public string ProviderClassName { get; set; }
Property Value
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
Methods
CreateProvider()
Creates the provider described by this definition, if any.
public ItemFactBoxProvider CreateProvider()
Returns
- ItemFactBoxProvider
The provider instance or null.