Class ListWidget
Assembly: DataWeb.Core.dll
public abstract class ListWidget
Constructors
Declaration
protected ListWidget(Section section, IServiceProvider serviceProvider)
Parameters
Fields
Declaration
protected readonly Section section
Field Value
Declaration
protected readonly IServiceProvider serviceProvider
Field Value
Properties
Gets or sets the name of the custom list widget component.
Declaration
public string CustomListWidgetComponent { get; set; }
Property Value
Gets or sets the options for the custom list widget.
Declaration
public object CustomListWidgetOptions { get; set; }
Property Value
The data field associated with the list widget.
Declaration
public string DataField { get; set; }
Property Value
The data sub field associated with the list widget.
Declaration
public string DataSubField { get; set; }
Property Value
The data type associated with the list widget.
Declaration
public string DataType { get; set; }
Property Value
The name of the file tag associated with the list widget.
Declaration
public string FileTagName { get; set; }
Property Value
Indicates whether the list widget is visible to certain roles.
Declaration
public bool IsVisibleRoles { get; set; }
Property Value
Gets or sets the CSS class for the list widget.
Declaration
public string ListWidgetClass { get; set; }
Property Value
The name of the list widget.
Declaration
public string Name { get; set; }
Property Value
The title of the list widget.
Declaration
public string Title { get; set; }
Property Value
The type of the list widget.
Declaration
public string Type { get; set; }
Property Value
The roles that have access to view the list widget.
Declaration
public string VisibleRoles { get; set; }
Property Value
Methods
Declaration
public virtual bool IsProcessDeferredValue()
Returns
ProcessDeferredValueAsync(string, object, Navigation, NavigationContext, IEnumerable<UserSetting>, CancellationToken)
Declaration
public virtual Task<ListWidget.DetailValueResult> ProcessDeferredValueAsync(string itemId, object value, Navigation itemNavigation, NavigationContext listNavigationContext, IEnumerable<UserSetting> userSettings, CancellationToken cancellationToken = default)
Parameters
Returns
ProcessValue(string, object, Navigation, NavigationContext, IEnumerable<UserSetting>)
Declaration
public virtual object ProcessValue(string itemId, object value, Navigation itemNavigation, NavigationContext listNavigationContext, IEnumerable<UserSetting> userSettings)
Parameters
Returns