Class SettingsFieldWidgetController
A recyclable widget controller for settings fields.
Inherited Members
Namespace: SociallyDistant.Core.UI.Recycling.SettingsWidgets
Assembly: SociallyDistant.Framework.dll
Syntax
public sealed class SettingsFieldWidgetController : RecyclableWidgetController
Properties
ClickCallback
Gets or sets a callback to execute when the field is clicked.
Declaration
public Action? ClickCallback { get; set; }
Property Value
Type | Description |
---|---|
Action |
Description
Gets or sets the field's description.
Declaration
public string? Description { get; set; }
Property Value
Type | Description |
---|---|
string |
Slot
Gets or sets a RecyclableWidgetController representing a widget to display in the field's input slot.
Declaration
public RecyclableWidgetController? Slot { get; set; }
Property Value
Type | Description |
---|---|
RecyclableWidgetController |
Title
Gets or sets the title of the field.
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
string |
UseReverseLayout
Gets or sets whether the field should be rendered with reverse layout.
Declaration
public bool UseReverseLayout { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
Build(ContentWidget)
Declaration
public override void Build(ContentWidget destination)
Parameters
Type | Name | Description |
---|---|---|
ContentWidget | destination |
Overrides
Recycle()
Declaration
public override void Recycle()