Socially Distant OS
  • Docs
  • API
Search Results for

    Show / Hide Table of Contents
    • Ritchie.Toolbox
      • Color
      • ColorHelpers
      • GuiManager
      • GuiScaleMode
      • GuiSynchronizationContext
      • IGuiContext
      • ILayer
      • IOrderedCollection<T>
      • PopoverLayer
    • Ritchie.Toolbox.Accessibility
      • IAccessibleDescription
      • ISpeechHandler
      • NarratorSpeechHandler
      • SpeechDispatcherBackend
      • TextToSpeech
    • Ritchie.Toolbox.Animation
      • Animation
      • AnimationExtensions
      • AnimationWait
      • Animation<TValue>
      • Animator
      • ColorAnimation
      • CurveFunction
      • CurveFunctions
      • IAnimation
      • IAnimationHandle
      • IAnimationUpdateAction
      • InterpolationFunction<T>
      • NumberAnimation<TNumber>
      • Vector2Animation
      • Vector3Animation
      • Vector4Animation
    • Ritchie.Toolbox.Common
      • Emojis
      • InvalidationMode
      • Rounding
      • StateChange<T>
    • Ritchie.Toolbox.Core
      • LineGraph<TNumber>
      • RunAtLaunchAttribute
      • RunAtLaunchService
    • Ritchie.Toolbox.CustomProperties
      • CanvasAnchors
      • CustomPropertyObject
      • FlexPanelProperties
      • StructProperty<T>
    • Ritchie.Toolbox.Debugging
      • GuiDebugger
      • IInspectChild
      • IInspectable
      • IInspector
      • IInspectorCategory
      • INumberInput<TNumber>
      • IWidgetTreeRenderer
      • InspectorExtensions
    • Ritchie.Toolbox.Effects
      • IEffect
      • IWidgetEffect
    • Ritchie.Toolbox.Events
      • FocusEvent
      • GuiEvent
      • IDragEndHandler
      • IDragHandler
      • IDragStartHandler
      • IGainFocusHandler
      • IKeyCharHandler
      • IKeyDownHandler
      • IKeyUpHandler
      • ILoseFocusHandler
      • IMouseClickHandler
      • IMouseDownHandler
      • IMouseEnterHandler
      • IMouseHandler
      • IMouseLeaveHandler
      • IMouseMoveHandler
      • IMouseScrollHandler
      • IMouseUpHandler
      • IPreviewKeyCharHandler
      • IPreviewKeyDownHandler
      • IPreviewKeyUpHandler
      • IUpdateHandler
      • KeyCharEvent
      • KeyEvent
      • ModifierKeys
      • MouseButtonEvent
      • MouseEvent
      • MouseMoveEvent
      • MouseScrollEvent
    • Ritchie.Toolbox.Layout
      • ClippingMode
      • Direction
      • FlexMode
      • FontDescription
      • HorizontalAlignment
      • LayoutRect
      • NudgeDirection
      • Padding
      • TextAlignment
      • VerticalAlignment
      • Visibility
    • Ritchie.Toolbox.ListAdapters
      • DataHelper<T>
      • INotifyDataChanged
      • ListAdapter<TContainerWidget, TViewHolder>
      • RecyclableWidgetController
      • RecyclableWidgetList<TContainerWidget>
      • RecyclableWidgetList<TContainerWidget>.RecyclableViewHolder
      • RecycleBin
      • RecycleBin<T>
      • ViewHolder
    • Ritchie.Toolbox.Niceities.Completions
      • CompletionGraph
    • Ritchie.Toolbox.Popovers
      • PopoverContent
      • PopoverLocationPreference
      • PopoverText
      • PopoverWidget
    • Ritchie.Toolbox.Rendering
      • GeometryHelper
      • GuiMeshBuilder
      • GuiRenderer
      • Mesh
      • WidgetGeometry
    • Ritchie.Toolbox.Signals
      • ISignalHandler<TSignal>
      • SignalDirection
      • SignalEvent<TSignal>
    • Ritchie.Toolbox.TextRendering
      • Font
      • FontFamily
      • FontFamilyInfo
      • FontSizeMetric
      • FontWeight
      • IFontFamily
      • IFontFamilyProvider
      • PresetFontFamily
      • Typeface
      • Typeface.GlyphInfo
    • Ritchie.Toolbox.VisualStyles
      • DefaultWidgetBackgroundRenderer
      • IGetTextColor
      • IGetThemeProperties<TThemeProperties>
      • IUpdateThemeProperties
      • IVisualRenderer<TVisualProperties>
      • IVisualRenderer<TVisual, TVisualState>
      • IVisualStyle
      • IVisual<TVisualProperties>
      • IWidgetBackgroundRenderer
      • IWidgetRenderer<TWidget>
      • StyleManager
      • WidgetBag<T>
    • Ritchie.Toolbox.Widgets
      • Box
      • Button
      • Button.LayoutProperties
      • Button.VisualState
      • CanvasPanel
      • ContainerWidget
      • ContentWidget
      • DropdownButtonThemeProperties
      • DropdownButtonVisualState
      • DropdownItemView<TItemType>
      • DropdownItemVisualState
      • DropdownOverlayVisualState
      • DropdownStringView
      • Dropdown<TItemType, TView>
      • FlexPanel
      • IContainerWidget
      • IContentWidget
      • IDropdownButtonVisual
      • IImageLocator
      • Icon
      • Image
      • Label
      • LinkClickSignal
      • ListItem
      • ListItem.LayoutProperties
      • ListItem.VisualState
      • OverlayWidget
      • Popover
      • Popover.PopoverThemeProperties
      • Popover.PopoverVisualState
      • Pressable
      • PressableBox
      • ProgressBar
      • ProgressBar.LayoutrProperties
      • ProgressBar.VisualState
      • ScrollBar
      • ScrollBar.LayoutProperties
      • ScrollBar.VisualState
      • ScrollView
      • Slider
      • Slider.LayoutProperties
      • Slider.VisualState
      • StackPanel
      • StringDropdown
      • TablePanel
      • TextField
      • TextField.ThemeProperties
      • TextField.VisualState
      • TextTransform
      • TextWidget
      • TextWidget.ThemeProperties
      • Toggle
      • Toggle.LayoutProperties
      • Toggle.VisualState
      • Widget
      • Widget.BackgroundStyleProperties
      • WidgetTransform
      • WrapPanel
    • Ritchie.Toolbox.Widgets.CodeEditing
      • CodeEditor
      • CodeEditor.DrawElement
      • CodeEditor.ThemeProperties
      • CodeEditor.VisualState
    • SociallyDistant
      • SystemModule
    • SociallyDistant.Core
      • CollectionExtensions
      • Time
      • TimeData
    • SociallyDistant.Core.Audio
      • GuiSoundName
      • SoundScheme
      • SoundSchemeAttribute
    • SociallyDistant.Core.BuildTasks
      • MarkdownPreprocessorTask
      • SdshScriptCheckTask
    • SociallyDistant.Core.Chat
      • ChatScriptType
      • ChatStartType
      • IBranchDefinition
      • IChatConversation
      • IConversationController
      • ScriptConditionCheck
      • ScriptConditionMode
      • ScriptConditionType
    • SociallyDistant.Core.Config
      • IgnoreModdingLegalWaiverAttribute
    • SociallyDistant.Core.ContentManagement
      • ContentCollectionBuilder
      • ContentPipeline
      • DefaultScriptImporter
      • IContentFinder
      • IContentGenerator
      • IContentManager
      • IGameContent
      • IGameContentSource
      • ShebangAttribute
      • ShellScriptImporter
      • XnbContentIdentifier
    • SociallyDistant.Core.Core
      • ConsoleExtensions
      • CraftingIngredient
      • CraftingRecipe
      • CreateCallback<TDataElement>
      • DeleteCallback<TDataElement>
      • FileAssociation
      • FileAssociationAttribute
      • FileAssociationManager
      • GameMode
      • Gender
      • GlobalUtilities
      • ICachedScript
      • IDataObject<TDataElement>
      • IDataTable<TDataElement>
      • IDataWithId
      • IDebuggable
      • ILedger
      • INamedAsset
      • INarrativeObjectTable<TDataElement>
      • ISerializableDataObject<TDataElement, TRevision, TSerializer>
      • ISerializableDataTable<TDataElement, TRevision, TSerializer>
      • ISkillTree
      • IUnlockableAsset
      • IWorld
      • IWorldDataCallbacks
      • IWorldDataObject<TDataElement>
      • IWorldFlagCollection
      • IWorldManager
      • IWorldSection
      • IWorldTable<TDataElement>
      • IngredientRequirement
      • LogicalAccessLock
      • ModifyCallback<TDataElement>
      • ObjectId
      • PathUtility
      • PlayerLevelInfo
      • RecipeCategory
      • SharedReference<T>
      • ShellExtensions
      • Singleton<T>
      • SociallyDistantUtility
      • StringUtility
      • SystemVolume
      • VirtualConsole
      • WorldRevision
    • SociallyDistant.Core.Core.Config
      • CommonSettingsCategorySections
      • CommonSettingsSections
      • ISettingsManager
      • ISettingsPageBuilder
      • ISettingsPageContext
      • ISettingsUiBuilder
      • SettingsCategory
      • SettingsCategoryAttribute
      • SettingsFieldAttribute
      • SettingsFieldUiDefinition
      • SettingsType
    • SociallyDistant.Core.Core.Config.SystemConfigCategories
      • AccessibilitySettings
      • DeveloperSettings
      • GraphicsSettings
      • TextElementScale
      • UiSettings
    • SociallyDistant.Core.Core.Events
      • DeviceEvent
      • Event
      • EventBus
      • FileSystemEvent
      • FileSystemEventType
      • PlaySongEvent
      • PlaySoundEvent
      • ResourceEvent
      • WitnessEvent
      • WitnessType
    • SociallyDistant.Core.Core.Scripting
      • ArrayView<TElementType>
      • CommonScriptHooks
      • FileRedirectionType
      • FunctionAttribute
      • HookScript
      • HypervisorComputer
      • HypervisorFileSystem
      • HypervisorProcess
      • HypervisorUser
      • IArrayView<T>
      • ICommandHistoryProvider
      • ICommandShell
      • IHelpProvider
      • IHistoryCollection
      • IHookListener
      • IInteractiveShellContext
      • IScriptCommand
      • IScriptExecutionContext
      • IScriptFunction
      • IScriptSystem
      • ITerminalProcessController
      • InteractiveShell
      • OperatingSystemExecutionContext
      • ScriptCommandProvider
      • ScriptContextCommand
      • ScriptDelegate
      • ScriptDelegateFunction
      • ScriptEndException
      • ScriptExecutionContext
      • ScriptFunctionManager
      • ScriptModule
      • ScriptModuleManager
      • ScriptSystem
      • ShellParseOptions
      • ShellScriptAsset
      • ShellTester
      • ShellToken
      • ShellTokenType
      • ShellUtility
      • SimpleEnvironmentVariableProvider
      • StringView
      • UserScriptExecutionContext
      • WorldScriptCommands
    • SociallyDistant.Core.Core.Scripting.Consoles
      • FileOutputConsole
      • LineListConsole
      • RedirectedConsole
    • SociallyDistant.Core.Core.Scripting.GlobalCommands
      • ExecuteHookCommand
      • SaveGameCommand
      • WorldFlagCommand
    • SociallyDistant.Core.Core.Scripting.Instructions
      • AssignmentInstruction
      • BranchEvaluator
      • BranchInstruction
      • CommandData
      • CommandExpansion
      • CommandExpansionConsole
      • EmptyShellInstruction
      • ExpressionEvaluator
      • FunctionDeclaration
      • IArgumentEvaluator
      • LogicalAndInstruction
      • LogicalOrInstruction
      • ParallelInstruction
      • PipeConsole
      • PipeEntrance
      • PipeInstruction
      • SequentialInstruction
      • ShellCaseStatement
      • ShellInstruction
      • ShellPattern
      • SingleInstruction
      • VariableAccessEvaluator
      • WhileLoop
    • SociallyDistant.Core.Core.Scripting.Parsing
      • FunctionFrame
      • LegacyScriptParser
      • LocalScriptExecutionContext
      • ScriptFunction
      • ScriptParser
      • ScriptParser.TokenElement
      • TextArgumentEvaluator
    • SociallyDistant.Core.Core.Scripting.StandardModules
      • NpcModule
      • ShellHelpersModule
    • SociallyDistant.Core.Core.Serialization
      • IDataReader
      • IDataWriter
      • INarrativeObject
      • IRevisionComparer<TRevision>
      • IRevisionedSerializer<TRevision>
      • ISerializable
      • ISerializable<TRevision, TSerializer>
      • IWorldData
      • IWorldSerializer
      • SerializationUtility
    • SociallyDistant.Core.Core.Serialization.Binary
      • BinaryDataReader
      • BinaryDataWriter
    • SociallyDistant.Core.Core.Systems
      • Counter
      • UniqueIntGenerator
    • SociallyDistant.Core.Core.Threading
      • WorkQueue
    • SociallyDistant.Core.Core.WorldData
      • IGlobalState
    • SociallyDistant.Core.Core.WorldData.Data
      • CharacterAttributes
      • DocumentElement
      • DocumentElementType
      • GenerationType
      • GlobalWorldData
      • MailTypeFlags
      • MemberGroupType
      • MessageChannelType
      • NetworkServiceData
      • RelationshipType
      • WitnessedObjectType
      • WorldChannelData
      • WorldComputerData
      • WorldCraftedExploitData
      • WorldDomainNameData
      • WorldGenerationTrackingData
      • WorldGuildData
      • WorldHackableData
      • WorldInternetServiceProviderData
      • WorldInventoryItem
      • WorldLocalNetworkData
      • WorldMailData
      • WorldMemberData
      • WorldMessageData
      • WorldNetworkConnection
      • WorldNewsData
      • WorldNotificationData
      • WorldPlayerData
      • WorldPortForwardingRule
      • WorldPostData
      • WorldProfileData
      • WorldRelationshipData
      • WorldWitnessedObjectData
    • SociallyDistant.Core.Debugging
      • DebugEvent
      • DebugEventType
      • DebugService
      • IDebugService
    • SociallyDistant.Core.FileSystemProviders
      • TempFileSystemProvider
    • SociallyDistant.Core.Hacking
      • IPayload
      • Vulnerabilities
      • Vulnerability
    • SociallyDistant.Core.Missions
      • DangerLevel
      • IMission
      • IMissionContext
      • IMissionController
      • IMissionTask
      • IObjective
      • IObjectiveHandle
      • MissionEvent
      • MissionFailedException
      • MissionStartCondition
      • MissionTaskAttribute
      • MissionType
      • ObjectiveKind
      • ObjectiveResult
      • ObjectiveType
    • SociallyDistant.Core.Modules
      • Application
      • GameModule
      • IGameContext
      • IGameData
      • IGameDataWithCheckpoints
      • IGameRestorePoint
      • IModuleManager
      • INetworkSimulation
      • IUriManager
      • IUriSchemeHandler
      • IVirtualScreen
      • InitializationFlow
      • PlayerInfo
      • XnaHelpers
    • SociallyDistant.Core.News
      • Article
      • ArticleData
      • ArticleFlags
      • ArticleInfo
      • IArticleAsset
    • SociallyDistant.Core.OS
      • IKernel
    • SociallyDistant.Core.OS.Devices
      • ConsoleCapabilities
      • ConsoleDriver
      • ConsoleInputData
      • ConsoleWrapper
      • EntryBuilder
      • HostConsole
      • HostScreen
      • IAutoCompleteSource
      • IAutoCompletedConsole
      • IComputer
      • IConsoleDriver
      • IEnvironmentVariableProvider
      • IHackable
      • IInitProcess
      • IIterableEnvironmentVariableProvider
      • ISystemProcess
      • ISystemServiceProvider
      • ITextConsole
      • ITextConsoleWithPhysicalDisplay
      • IUser
      • KeyModifiers
      • LineEditor
      • LineWrapper
      • MultiCancellationTokenSource
      • NullConsole
      • NullScreen
      • PrivilegeLevel
      • RepeatableCancellationToken
      • SystemService
      • SystemServiceAttribute
    • SociallyDistant.Core.OS.FileSystems
      • EntryTypes
      • IDirectoryEntry
      • IFileEntry
      • IFileOverrider
      • IFileSystem
      • IFileSystemProvider
      • IFileSystemTable
      • IFileSystemTableEntry
      • IMountManager
      • IVirtualFileSystem
      • InMemoryDirectoryEntry
      • InMemoryFileEntry
      • InMemoryFileSystem
      • MountManager
      • NotifyingMemoryStream
      • ReadOnlyMemoryStream
      • VirtualFileSystem
    • SociallyDistant.Core.OS.FileSystems.Host
      • FileInputConsole
      • HostDirectoryEntry
      • HostFileEntry
      • HostJail
    • SociallyDistant.Core.OS.FileSystems.Immutable
      • ImmutableDirectoryEntry
      • ImmutableDirectoryTree
    • SociallyDistant.Core.OS.Network
      • ConnectionResultType
      • HackableDevice
      • HackableGenerationMethod
      • IAcceptNetworkClient<TNetworkClient>
      • IConnectionHandle
      • IHostNameResolver
      • INetworkAsset
      • INetworkClient
      • INetworkConnection
      • INetworkInterfaceEnumerator
      • INetworkNode
      • INetworkServer
      • IServerConnection
      • NetUtility
      • NetworkInterfaceInformation
      • NetworkResolveResult
      • NetworkServer<TNetworkClient, TServerConnection>
      • PingResult
      • PortResolution
      • PortScanResult
      • PortStatus
      • Subnet
    • SociallyDistant.Core.OS.Tasks
      • CommandAttribute
      • ICommandTask
      • ITaskManager
    • SociallyDistant.Core.Programs
      • ProgramController
      • ProgramController.ProgramContext
    • SociallyDistant.Core.Shell
      • CommonColor
      • IIconDescriptor
      • IProgram
      • IShellContext
      • IShellOverlay
      • ITutorialOverlay
      • IconDescriptorFactory
      • SociallyDistantExtensions
      • TextIconDescriptor
      • TextureIconDescriptor
    • SociallyDistant.Core.Shell.Common
      • CompositeIcon
      • INotificationGroup
      • INotificationManager
      • NotificationGroups
    • SociallyDistant.Core.Shell.InfoPanel
      • IInfoPanelService
      • InfoPanelCheckList
      • InfoPanelCheckListItem
      • InfoPanelCheckListState
      • InfoWidgetCreationData
      • InfoWidgetData
    • SociallyDistant.Core.Shell.Windowing
      • CaptionButtonStyle
      • CaptionButtonType
      • IBringWindowToFocus
      • IMessageDialog
      • IUpdateDesiredPositions
      • IWindow
      • IWindowGroup
      • MessageBoxButtonData
      • MessageBoxButtons
      • MessageBoxType
      • MessageDialogResult
      • Window
      • Window.ThemeProperties
      • Window.VisualState
      • WindowCaptionButton
      • WindowCaptionButton.ThemeProperties
      • WindowCaptionButton.VisualState
      • WindowHints
    • SociallyDistant.Core.Shortcuts
      • ShortcutManager
    • SociallyDistant.Core.Social
      • AvatarSize
      • ChannelIconData
      • ICharacterGenerator
      • IChatChannel
      • IChatGroup
      • IChatMember
      • IDirectConversation
      • IGuild
      • IGuildList
      • IMailMessage
      • IMailThread
      • INarrativeThread
      • INewsArticle
      • INewsManager
      • IProfile
      • ISocialService
      • IUserMessage
      • NarrativeThread
    • SociallyDistant.Core.UI
      • GuiDebugService
      • GuiService
      • LucideIcons
    • SociallyDistant.Core.UI.Common
      • Avatar
      • CompositeIconWidget
      • DecorativeBlock
      • DecorativeBlock.VisualState
      • Emblem
      • Emblem.LayoutProperties
      • Emblem.VisualState
      • ListItemWithHeader
      • SimpleField
      • ToolbarIcon
    • SociallyDistant.Core.UI.Console
      • ConsoleLineEditor
      • ConsoleSizeMode
      • ConsoleThemeProperties
      • ITextScreen
      • TextScreen
      • TextScreenExtensions
    • SociallyDistant.Core.UI.Effects
      • BackgroundBlurProperties
      • BackgroundBlurWidgetEffect
      • DefaultAvatarColorizer
      • DefaultAvatarProperties
      • MonoGameEffect
    • SociallyDistant.Core.UI.Recycling
      • AvatarWidgetBuilder
      • AvatarWidgetController
      • DropdownWidgetBuilder
      • DropdownWidgetController
      • IRecyclableWidgetBuilder
      • ISectionWidgetBuilder
      • ImageWidgetBuilder
      • ImageWidgetController
      • InputFieldWidgetBuilder
      • InputFieldWidgetController
      • LabelWidgetBuilder
      • LabelWidgetController
      • ListItemWidgetBuilder<T>
      • ListItemWidgetController<T>
      • SectionWidgetBuilder
      • SectionWidgetController
      • SliderWidgetBuilder
      • SliderWidgetController
      • SwitchWidgetBuilder
      • SwitchWidgetController
      • TwoLineListItemWithIcon
      • WidgetBuilder
    • SociallyDistant.Core.UI.Recycling.SettingsWidgets
      • CompletionListWidget
      • CompletionListWidget.ThemeProperties
      • CompletionListWidget.VisualState
      • Cycler
      • FormField
      • FormField.LayoutProperties
      • FormField.VisualState
      • SectionTitle
      • SettingsFieldWidgetBuilder
      • SettingsFieldWidgetController
      • WidgetListSettingsUiBuilder
    • SociallyDistant.Core.UI.Shell
      • TrayAction
    • SociallyDistant.Core.UI.VisualStyles
      • ChatMessageThemeProperties
      • ChatMessageVisualState
      • DockLayoutProperties
      • DockVisualState
      • IChatMessageBox
      • IChatMessageRenderer
      • IDockIconView
      • InputFieldType
      • SociallyDistantVisualStyle
      • SociallyDistantVisualStyle.CodeEditorStyle
      • SociallyDistantVisualStyle.DropdownButtonStyle
      • StatusBarLayoutProperties
      • StatusBarVisualState
      • UserStyle
      • WidgetBackgrounds
      • WidgetForegrounds
    • SociallyDistant.Core.UI.Widgets
      • BlurredOverlay
      • BlurredOverlay.VisualState

    Class WidgetBuilder

    A utility class for building complex pages of interactive widgets in Socially Distant. This class is used by the System Settings screen to generate settings fields.

    Inheritance
    object
    WidgetBuilder
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: SociallyDistant.Core.UI.Recycling
    Assembly: SociallyDistant.Framework.dll
    Syntax
    public sealed class WidgetBuilder

    Properties

    ShowUncategorizedFirst

    Gets or sets a value indicating whether uncategorized widgets should be shown first, before any categories.

    Declaration
    public bool ShowUncategorizedFirst { get; set; }
    Property Value
    Type Description
    bool

    SkipEmptySections

    Gets or sets a value indicating whether empty sections should have their section headers generated.

    Declaration
    public bool SkipEmptySections { get; set; }
    Property Value
    Type Description
    bool

    Methods

    AddImage(Texture2D, Color?, SectionWidgetBuilder?)

    Add a picture to the page.

    Declaration
    public WidgetBuilder AddImage(Texture2D texture, Color? color = null, SectionWidgetBuilder? section = null)
    Parameters
    Type Name Description
    Texture2D texture

    A Microsoft.Xna.Framework.Graphics.Texture2D instance to render.

    Color? color

    A color tint to apply to the image.

    SectionWidgetBuilder section

    An optional section to add the image to.

    Returns
    Type Description
    WidgetBuilder

    This.

    AddLabel(string, SectionWidgetBuilder?)

    Create a text widget.

    Declaration
    public WidgetBuilder AddLabel(string text, SectionWidgetBuilder? section = null)
    Parameters
    Type Name Description
    string text

    The text to display in the text widget.

    SectionWidgetBuilder section

    An pptional section to assign the widget to.

    Returns
    Type Description
    WidgetBuilder

    This.

    AddSection(string, out SectionWidgetBuilder)

    Add a section to the page.

    Declaration
    public WidgetBuilder AddSection(string title, out SectionWidgetBuilder section)
    Parameters
    Type Name Description
    string title

    Text to display as the section's title.

    SectionWidgetBuilder section

    A SectionWidgetBuilder instance representing this section.

    Returns
    Type Description
    WidgetBuilder

    This.

    AddSection<TSection>(out TSection)

    Adds a new custom section widget to the page

    Declaration
    public WidgetBuilder AddSection<TSection>(out TSection section) where TSection : SectionWidgetBuilder, new()
    Parameters
    Type Name Description
    TSection section

    An instance of TSection to add.

    Returns
    Type Description
    WidgetBuilder

    This.

    Type Parameters
    Name Description
    TSection

    Any class deriving SectionWidgetBuilder with a public default constructor.

    AddWidget(IRecyclableWidgetBuilder, ISectionWidgetBuilder?)

    Add a widget to the page, or to a specific section in the page.

    Declaration
    public WidgetBuilder AddWidget(IRecyclableWidgetBuilder recyclableWidgetBuilder, ISectionWidgetBuilder? section)
    Parameters
    Type Name Description
    IRecyclableWidgetBuilder recyclableWidgetBuilder

    A widget to add to the page.

    ISectionWidgetBuilder section

    An optional ISectionWidgetBuilder to add the widget to. If none is provided, the widget will be added to a default section.

    Returns
    Type Description
    WidgetBuilder

    This.

    AddWidget(IRecyclableWidgetBuilder, SectionWidgetBuilder?)

    Add a widget to the page, or to a specific section in the page.

    Declaration
    public WidgetBuilder AddWidget(IRecyclableWidgetBuilder recyclableWidgetBuilder, SectionWidgetBuilder? section = null)
    Parameters
    Type Name Description
    IRecyclableWidgetBuilder recyclableWidgetBuilder

    A widget to add to the page.

    SectionWidgetBuilder section

    An optional SectionWidgetBuilder to add the widget to. If none is provided, the widget will be added to a default section.

    Returns
    Type Description
    WidgetBuilder

    This.

    Begin()

    Start building a new page.

    Declaration
    public void Begin()

    Build()

    Build the current page into a list of RecyclableWidgetController instances that can be rendered with the RecyclableWidgetList<TContainerWidget> list adapter.

    Declaration
    public IList<RecyclableWidgetController> Build()
    Returns
    Type Description
    IList<RecyclableWidgetController>

    A list of RecyclableWidgetController instances representing this page.

    PopDefaultSection()

    Pops the current default section widget off the section stack.

    Declaration
    public WidgetBuilder PopDefaultSection()
    Returns
    Type Description
    WidgetBuilder

    This.

    PushDefaultSection(string, out SectionWidgetBuilder)

    Creates a new section and sets it as the default section for new widgets.

    Declaration
    public WidgetBuilder PushDefaultSection(string sectionTitle, out SectionWidgetBuilder widgetBuilder)
    Parameters
    Type Name Description
    string sectionTitle

    Text to display as the section's title.

    SectionWidgetBuilder widgetBuilder

    A SectionWidgetBuilder instance representing this section.

    Returns
    Type Description
    WidgetBuilder

    This.

    See Also

    RecyclableWidgetList<TContainerWidget>
    ListAdapter<TContainerWidget, TViewHolder>
    ISettingsUiBuilder
    RecyclableWidgetController
    ISectionWidgetBuilder
    IRecyclableWidgetBuilder
    In this article
    Back to top Generated by DocFX