• 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 Element

Inheritance
System.Object
EventTarget
Node
Element
VisualElementRenderer<TElement>
Anchor
Body
Canvas
Div
Form
FormControl
Heading
Iframe
Image
Label
List
ListItem
Option
Paragraph
Span
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
Node.Children
Node.FirstChild
Node.Text
Node.GetElementById(String)
Node.AppendChild(Node)
Node.InsertBefore(Node, Node)
Node.RemoveChild(Node)
Node.OnChildInsertedBefore(Node, Node)
Node.OnChildRemoved(Node)
Node.ReplaceAll(Node)
Node.SaveStateMessageIfNeeded(Message)
Node.TriggerEventFromMessage(Message)
Node.OuterHtml
EventTarget.Id
EventTarget.TagName
EventTarget.PropertyChanged
EventTarget.MessageSent
EventTarget.StateMessages
EventTarget.ToString()
EventTarget.AddEventListener(String, TargetEventHandler)
EventTarget.RemoveEventListener(String, TargetEventHandler)
EventTarget.SetProperty<T>(T, T, String, String)
EventTarget.OnPropertyChanged(String)
EventTarget.IdPrefix
EventTarget.Send(Message)
EventTarget.Call(String, Object[])
EventTarget.SendSet(String, Object)
EventTarget.Receive(Message)
EventTarget.AddStateMessage(Message)
EventTarget.UpdateStateMessages(Action<List<Message>>)
EventTarget.TriggerEvent(String)
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)
Namespace: Goui.Html
Assembly: Goui.dll
Syntax
public abstract class Element : Node, INotifyPropertyChanged

Constructors

| Improve this Doc View Source

Element(String)

Declaration
protected Element(string tagName)
Parameters
Type Name Description
System.String tagName

Properties

| Improve this Doc View Source

AddClassName

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

ClassName

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

Document

Declaration
public Document Document { get; }
Property Value
Type Description
Document
| Improve this Doc View Source

HtmlNeedsFullEndElement

Declaration
protected virtual bool HtmlNeedsFullEndElement { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsHidden

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

Style

Declaration
public Style Style { get; }
Property Value
Type Description
Style
| Improve this Doc View Source

Title

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

WantsFullScreen

A signal to Goui that this element should take up the entire browser window.

Declaration
public virtual bool WantsFullScreen { get; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

Focus()

Declaration
public void Focus()
| Improve this Doc View Source

GetAttribute(String)

Declaration
public object GetAttribute(string attributeName)
Parameters
Type Name Description
System.String attributeName
Returns
Type Description
System.Object
| Improve this Doc View Source

GetAttribute<T>(String, T)

Declaration
public T GetAttribute<T>(string attributeName, T defaultValue)
Parameters
Type Name Description
System.String attributeName
T defaultValue
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

GetBooleanAttribute(String)

Declaration
public bool GetBooleanAttribute(string attributeName)
Parameters
Type Name Description
System.String attributeName
Returns
Type Description
System.Boolean
| Improve this Doc View Source

GetStringAttribute(String, String)

Declaration
public string GetStringAttribute(string attributeName, string defaultValue)
Parameters
Type Name Description
System.String attributeName
System.String defaultValue
Returns
Type Description
System.String
| Improve this Doc View Source

RemoveAttribute(String)

Declaration
public void RemoveAttribute(string attributeName)
Parameters
Type Name Description
System.String attributeName
| Improve this Doc View Source

SetAttribute(String, Object)

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

SetAttributeProperty(String, Object, String)

Declaration
protected bool SetAttributeProperty(string attributeName, object newValue, string propertyName = "")
Parameters
Type Name Description
System.String attributeName
System.Object newValue
System.String propertyName
Returns
Type Description
System.Boolean
| Improve this Doc View Source

SetBooleanAttributeProperty(String, Boolean, String)

Declaration
protected bool SetBooleanAttributeProperty(string attributeName, bool newValue, string propertyName = "")
Parameters
Type Name Description
System.String attributeName
System.Boolean newValue
System.String propertyName
Returns
Type Description
System.Boolean
| Improve this Doc View Source

SetCapture(Boolean)

Declaration
public void SetCapture(bool retargetToElement)
Parameters
Type Name Description
System.Boolean retargetToElement
| Improve this Doc View Source

UpdateAttributeProperty(String, Object, String)

Declaration
protected bool UpdateAttributeProperty(string attributeName, object newValue, string propertyName)
Parameters
Type Name Description
System.String attributeName
System.Object newValue
System.String propertyName
Returns
Type Description
System.Boolean
| Improve this Doc View Source

UpdateBooleanAttributeProperty(String, Boolean, String)

Declaration
protected bool UpdateBooleanAttributeProperty(string attributeName, bool newValue, string propertyName)
Parameters
Type Name Description
System.String attributeName
System.Boolean newValue
System.String propertyName
Returns
Type Description
System.Boolean
| Improve this Doc View Source

WriteInnerHtml(XmlWriter)

Declaration
public virtual void WriteInnerHtml(XmlWriter w)
Parameters
Type Name Description
System.Xml.XmlWriter w
| Improve this Doc View Source

WriteOuterHtml(XmlWriter)

Declaration
public override void WriteOuterHtml(XmlWriter w)
Parameters
Type Name Description
System.Xml.XmlWriter w
Overrides
Node.WriteOuterHtml(XmlWriter)

Events

| Improve this Doc View Source

Click

Declaration
public event TargetEventHandler Click
Event Type
Type Description
TargetEventHandler
| Improve this Doc View Source

DoubleClick

Declaration
public event TargetEventHandler DoubleClick
Event Type
Type Description
TargetEventHandler
| Improve this Doc View Source

KeyDown

Declaration
public event TargetEventHandler KeyDown
Event Type
Type Description
TargetEventHandler
| Improve this Doc View Source

KeyPress

Declaration
public event TargetEventHandler KeyPress
Event Type
Type Description
TargetEventHandler
| Improve this Doc View Source

KeyUp

Declaration
public event TargetEventHandler KeyUp
Event Type
Type Description
TargetEventHandler
| Improve this Doc View Source

MouseDown

Declaration
public event TargetEventHandler MouseDown
Event Type
Type Description
TargetEventHandler
| Improve this Doc View Source

MouseEnter

Declaration
public event TargetEventHandler MouseEnter
Event Type
Type Description
TargetEventHandler
| Improve this Doc View Source

MouseLeave

Declaration
public event TargetEventHandler MouseLeave
Event Type
Type Description
TargetEventHandler
| Improve this Doc View Source

MouseMove

Declaration
public event TargetEventHandler MouseMove
Event Type
Type Description
TargetEventHandler
| Improve this Doc View Source

MouseOut

Declaration
public event TargetEventHandler MouseOut
Event Type
Type Description
TargetEventHandler
| Improve this Doc View Source

MouseOver

Declaration
public event TargetEventHandler MouseOver
Event Type
Type Description
TargetEventHandler
| Improve this Doc View Source

MouseUp

Declaration
public event TargetEventHandler MouseUp
Event Type
Type Description
TargetEventHandler
| Improve this Doc View Source

Wheel

Declaration
public event TargetEventHandler Wheel
Event Type
Type Description
TargetEventHandler

Implements

System.ComponentModel.INotifyPropertyChanged

Extension Methods

ElementExtensions.GetSizeRequest(Element, Double, Double, Double, Double)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX