Class Element
Inheritance
System.Object
Element
Implements
System.ComponentModel.INotifyPropertyChanged
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)
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
|
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
|
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
|
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 Parameters
|
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
Events
|
Improve this Doc
View Source
Click
Declaration
public event TargetEventHandler Click
Event Type
|
Improve this Doc
View Source
DoubleClick
Declaration
public event TargetEventHandler DoubleClick
Event Type
|
Improve this Doc
View Source
KeyDown
Declaration
public event TargetEventHandler KeyDown
Event Type
|
Improve this Doc
View Source
KeyPress
Declaration
public event TargetEventHandler KeyPress
Event Type
|
Improve this Doc
View Source
KeyUp
Declaration
public event TargetEventHandler KeyUp
Event Type
|
Improve this Doc
View Source
MouseDown
Declaration
public event TargetEventHandler MouseDown
Event Type
|
Improve this Doc
View Source
MouseEnter
Declaration
public event TargetEventHandler MouseEnter
Event Type
|
Improve this Doc
View Source
MouseLeave
Declaration
public event TargetEventHandler MouseLeave
Event Type
|
Improve this Doc
View Source
MouseMove
Declaration
public event TargetEventHandler MouseMove
Event Type
|
Improve this Doc
View Source
MouseOut
Declaration
public event TargetEventHandler MouseOut
Event Type
|
Improve this Doc
View Source
MouseOver
Declaration
public event TargetEventHandler MouseOver
Event Type
|
Improve this Doc
View Source
MouseUp
Declaration
public event TargetEventHandler MouseUp
Event Type
|
Improve this Doc
View Source
Wheel
Declaration
public event TargetEventHandler Wheel
Event Type
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods