• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Goui
    • Color
    • Colors
    • Document
    • EventTarget
    • IGouiPlugin
    • JsonConvert
    • Message
    • Message.PropertyReference
    • MessageType
    • Node
    • Session
    • Style
    • TargetEventArgs
    • TargetEventHandler
    • TextNode
    • UI
    • UI.FileContent
    • UI.StyleSelectors
    • UIConfig
    • Utilities
    • WebAssemblySession
    • WebSocketSession
    • Window
  • Goui.AspNetCore
    • ElementResult
    • WebSocketHandler
  • Goui.AspNetCore.TagHelpers
    • GouiTagHelper
  • Goui.Forms
    • DisplayAlert
    • ElementChangedEventArgs<TElement>
    • EventTracker
    • EventTracker.NativeGestureRecognizer
    • ExportCellAttribute
    • ExportImageSourceHandlerAttribute
    • ExportRendererAttribute
    • GouiTheme
    • IVisualElementRenderer
    • LinkLabel
    • LinkView
    • LocalIsolatedStorageFile
    • Platform
    • PlatformEffect
    • PlatformRenderer
    • RendererPool
    • ResourcesProvider
    • VisualElementChangedEventArgs
    • VisualElementPackager
    • VisualElementRenderer<TElement>
    • VisualElementRendererFlags
    • VisualElementTracker
  • Goui.Forms.Cells
    • CellElement
    • CellRenderer
    • EntryCellElement
    • EntryCellRenderer
    • ImageCellElement
    • ImageCellRenderer
    • SwitchCellElement
    • SwitchCellRenderer
    • TextCellElement
    • TextCellRenderer
    • ViewCellElement
    • ViewCellRenderer
  • Goui.Forms.Extensions
    • ColorExtensions
    • ElementExtensions
    • FontExtensions
    • ListViewExtensions
  • Goui.Forms.Renderers
    • ActivityIndicatorRenderer
    • BoxRenderer
    • ButtonRenderer
    • DatePickerRenderer
    • DefaultRenderer
    • EditorRenderer
    • EntryRenderer
    • FileImageSourceHandler
    • FrameRenderer
    • IImageSourceHandler
    • ImageLoaderSourceHandler
    • ImageRenderer
    • LabelRenderer
    • LinkLabelRenderer
    • LinkViewRenderer
    • ListViewRenderer
    • NavigationPageRenderer
    • PickerRenderer
    • ProgressBarRenderer
    • ScrollViewRenderer
    • SearchBarRenderer
    • SliderRenderer
    • StreamImagesourceHandler
    • SwitchRenderer
    • SwitchRenderer.SwitchElement
    • TimePickerRenderer
    • ViewRenderer
    • ViewRenderer<TElement, TNativeElement>
    • WebViewRenderer
  • Goui.Html
    • Anchor
    • Body
    • Button
    • ButtonType
    • Canvas
    • CanvasRenderingContext2D
    • CompositeOperation
    • Div
    • Element
    • Form
    • FormControl
    • Heading
    • Iframe
    • Image
    • Input
    • InputType
    • Label
    • LineCap
    • LineJoin
    • List
    • ListItem
    • Option
    • Paragraph
    • Select
    • Span
    • TextArea
    • TextInput
  • Microsoft.AspNetCore.Builder
    • GouiMiddlewareExtensions
  • WebAssembly
    • Runtime
  • Xamarin.Forms
    • Forms
    • Forms.ViewInitializedEventArgs
    • PageExtensions

Class UI

Inheritance
System.Object
UI
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Goui
Assembly: Goui.dll
Syntax
public static class UI

Fields

| Improve this Doc View Source

MaxFps

Declaration
public const int MaxFps = 30
Field Value
Type Description
System.Int32

Properties

| Improve this Doc View Source

BodyFooterHtml

Declaration
public static string BodyFooterHtml { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

BodyHeaderHtml

Declaration
public static string BodyHeaderHtml { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

CanConfigure

Declaration
public static bool CanConfigure { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

ClientJsBytes

Declaration
public static byte[] ClientJsBytes { get; }
Property Value
Type Description
System.Byte[]
| Improve this Doc View Source

ClientJsEtag

Declaration
public static string ClientJsEtag { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Config

Declaration
public static UIConfig Config { get; set; }
Property Value
Type Description
UIConfig
| Improve this Doc View Source

HeadHtml

Declaration
public static string HeadHtml { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Host

Declaration
public static string Host { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Port

Declaration
public static int Port { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

ServerEnabled

Declaration
public static bool ServerEnabled { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Styles

Declaration
public static UI.StyleSelectors Styles { get; }
Property Value
Type Description
UI.StyleSelectors

Methods

| Improve this Doc View Source

GetUrl(String)

Declaration
public static string GetUrl(string path)
Parameters
Type Name Description
System.String path
Returns
Type Description
System.String
| Improve this Doc View Source

Present(String, Object)

Declaration
public static void Present(string path, object presenter = null)
Parameters
Type Name Description
System.String path
System.Object presenter
| Improve this Doc View Source

Publish(String, Element)

Declaration
public static void Publish(string path, Element element)
Parameters
Type Name Description
System.String path
Element element
| Improve this Doc View Source

Publish(String, Func<Element>, Boolean)

Declaration
public static void Publish(string path, Func<Element> elementCtor, bool disposeElementWhenDone = true)
Parameters
Type Name Description
System.String path
System.Func<Element> elementCtor
System.Boolean disposeElementWhenDone
| Improve this Doc View Source

PublishCustomResponse(String, Action<HttpListenerContext, CancellationToken>)

Declaration
public static void PublishCustomResponse(string path, Action<HttpListenerContext, CancellationToken> responder)
Parameters
Type Name Description
System.String path
System.Action<System.Net.HttpListenerContext, System.Threading.CancellationToken> responder
| Improve this Doc View Source

PublishFile(String)

Declaration
public static void PublishFile(string filePath)
Parameters
Type Name Description
System.String filePath
| Improve this Doc View Source

PublishFile(String, Byte[], String)

Declaration
public static void PublishFile(string path, byte[] data, string contentType)
Parameters
Type Name Description
System.String path
System.Byte[] data
System.String contentType
| Improve this Doc View Source

PublishFile(String, Byte[], String, String)

Declaration
public static void PublishFile(string path, byte[] data, string etag, string contentType)
Parameters
Type Name Description
System.String path
System.Byte[] data
System.String etag
System.String contentType
| Improve this Doc View Source

PublishFile(String, String, String)

Declaration
public static void PublishFile(string path, string filePath, string contentType = null)
Parameters
Type Name Description
System.String path
System.String filePath
System.String contentType
| Improve this Doc View Source

PublishJson(String, Func<Object>)

Declaration
public static void PublishJson(string path, Func<object> ctor)
Parameters
Type Name Description
System.String path
System.Func<System.Object> ctor
| Improve this Doc View Source

PublishJson(String, Object)

Declaration
public static void PublishJson(string path, object value)
Parameters
Type Name Description
System.String path
System.Object value
| Improve this Doc View Source

ReceiveWebAssemblySessionMessageJson(String, String)

Declaration
public static void ReceiveWebAssemblySessionMessageJson(string sessionId, string json)
Parameters
Type Name Description
System.String sessionId
System.String json
| Improve this Doc View Source

RenderTemplate(TextWriter, String, String, String)

Declaration
public static void RenderTemplate(TextWriter writer, string webSocketPath, string title, string initialHtml)
Parameters
Type Name Description
System.IO.TextWriter writer
System.String webSocketPath
System.String title
System.String initialHtml
| Improve this Doc View Source

RenderTemplate(String, String, String)

Declaration
public static string RenderTemplate(string webSocketPath, string title = "", string initialHtml = "")
Parameters
Type Name Description
System.String webSocketPath
System.String title
System.String initialHtml
Returns
Type Description
System.String
| Improve this Doc View Source

StartWebAssemblySession(String, String, String)

Declaration
public static void StartWebAssemblySession(string sessionId, string elementPath, string initialSize)
Parameters
Type Name Description
System.String sessionId
System.String elementPath
System.String initialSize
| Improve this Doc View Source

TryGetFileContentAtPath(String, out UI.FileContent)

Declaration
public static bool TryGetFileContentAtPath(string path, out UI.FileContent file)
Parameters
Type Name Description
System.String path
UI.FileContent file
Returns
Type Description
System.Boolean
| Improve this Doc View Source

WaitUntilStarted()

Declaration
public static void WaitUntilStarted()
  • Improve this Doc
  • View Source
Back to top Generated by DocFX