Class RmlElement
Inheritance
System.Object
RmlElement
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: AltV.Net.Client.dll
Syntax
public class RmlElement : BaseObject, IInternalBaseObject, IRmlElement, IBaseObject, ISharedBaseObject, INative
Constructors
|
Improve this Doc
View Source
RmlElement(ICore, IntPtr, BaseObjectType, UInt32)
Declaration
public RmlElement(ICore core, IntPtr rmlElementPointer, BaseObjectType baseObjectType, uint id)
Parameters
Type |
Name |
Description |
ICore |
core |
|
IntPtr |
rmlElementPointer |
|
BaseObjectType |
baseObjectType |
|
System.UInt32 |
id |
|
|
Improve this Doc
View Source
RmlElement(ICore, IntPtr, UInt32)
Declaration
public RmlElement(ICore core, IntPtr rmlElementPointer, uint id)
Parameters
Type |
Name |
Description |
ICore |
core |
|
IntPtr |
rmlElementPointer |
|
System.UInt32 |
id |
|
Properties
|
Improve this Doc
View Source
AbsoluteLeft
Declaration
public float AbsoluteLeft { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
AbsoluteOffset
Declaration
public Vector2 AbsoluteOffset { get; }
Property Value
Type |
Description |
System.Numerics.Vector2 |
|
|
Improve this Doc
View Source
AbsoluteTop
Declaration
public float AbsoluteTop { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Baseline
Declaration
public float Baseline { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
ChildCount
Declaration
public float ChildCount { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
ChildNodes
Declaration
public IRmlElement[] ChildNodes { get; }
Property Value
|
Improve this Doc
View Source
ClientHeight
Declaration
public float ClientHeight { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
ClientLeft
Declaration
public float ClientLeft { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
ClientTop
Declaration
public float ClientTop { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
ClientWidth
Declaration
public float ClientWidth { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
ContainingBlock
Declaration
public Vector2 ContainingBlock { get; }
Property Value
Type |
Description |
System.Numerics.Vector2 |
|
|
Improve this Doc
View Source
FirstChild
Declaration
public IRmlElement FirstChild { get; }
Property Value
|
Improve this Doc
View Source
FocusedElement
Declaration
public IRmlElement FocusedElement { get; }
Property Value
|
Improve this Doc
View Source
HasChildren
Declaration
public bool HasChildren { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
InnerRml
Declaration
public string InnerRml { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
IsOwned
Declaration
public bool IsOwned { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsVisible
Declaration
public bool IsVisible { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LastChild
Declaration
public IRmlElement LastChild { get; }
Property Value
|
Improve this Doc
View Source
NativePointer
Declaration
public override IntPtr NativePointer { get; }
Property Value
Overrides
|
Improve this Doc
View Source
NextSibling
Declaration
public IRmlElement NextSibling { get; }
Property Value
|
Improve this Doc
View Source
OffsetHeight
Declaration
public float OffsetHeight { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
OffsetLeft
Declaration
public float OffsetLeft { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
OffsetTop
Declaration
public float OffsetTop { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
OffsetWidth
Declaration
public float OffsetWidth { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
OwnerDocument
Declaration
public IRmlDocument OwnerDocument { get; }
Property Value
|
Improve this Doc
View Source
Parent
Declaration
public IRmlElement Parent { get; }
Property Value
|
Improve this Doc
View Source
PreviousSibling
Declaration
public IRmlElement PreviousSibling { get; }
Property Value
|
Improve this Doc
View Source
RmlElementNativePointer
Declaration
public IntPtr RmlElementNativePointer { get; }
Property Value
|
Improve this Doc
View Source
RmlId
Declaration
public string RmlId { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public float ScrollHeight { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Declaration
public float ScrollLeft { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Declaration
public float ScrollTop { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Declaration
public float ScrollWidth { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
TagName
Declaration
public string TagName { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ZIndex
Declaration
public float ZIndex { get; }
Property Value
Type |
Description |
System.Single |
|
Methods
|
Improve this Doc
View Source
AddClass(String)
Declaration
public void AddClass(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
|
Improve this Doc
View Source
AddPseudoClass(String)
Declaration
public void AddPseudoClass(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
|
Improve this Doc
View Source
AppendChild(IRmlElement)
Declaration
public void AppendChild(IRmlElement element)
Parameters
|
Improve this Doc
View Source
Blur()
Declaration
|
Improve this Doc
View Source
Click()
Declaration
|
Improve this Doc
View Source
Focus()
Declaration
|
Improve this Doc
View Source
GetAttribute(String)
Declaration
public string GetAttribute(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetAttributes()
Declaration
public Dictionary<string, string> GetAttributes()
Returns
Type |
Description |
Dictionary<System.String, System.String> |
|
|
Improve this Doc
View Source
GetClassList()
Declaration
public string[] GetClassList()
Returns
Type |
Description |
System.String[] |
|
|
Improve this Doc
View Source
GetClosest(String)
Declaration
public IRmlElement GetClosest(string selector)
Parameters
Type |
Name |
Description |
System.String |
selector |
|
Returns
|
Improve this Doc
View Source
GetElementById(String)
Declaration
public IRmlElement GetElementById(string id)
Parameters
Type |
Name |
Description |
System.String |
id |
|
Returns
|
Improve this Doc
View Source
GetElementsByClassName(String)
Declaration
public IRmlElement[] GetElementsByClassName(string className)
Parameters
Type |
Name |
Description |
System.String |
className |
|
Returns
|
Improve this Doc
View Source
GetElementsByTagName(String)
Declaration
public IRmlElement[] GetElementsByTagName(string tagName)
Parameters
Type |
Name |
Description |
System.String |
tagName |
|
Returns
|
Improve this Doc
View Source
GetLocalProperty(String)
Declaration
public string GetLocalProperty(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetProperty(String)
Declaration
public string GetProperty(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetPropertyAbsoluteValue(String)
Declaration
public float GetPropertyAbsoluteValue(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
GetPseudoClassList()
Declaration
public string[] GetPseudoClassList()
Returns
Type |
Description |
System.String[] |
|
|
Improve this Doc
View Source
HasAttribute(String)
Declaration
public bool HasAttribute(string attribute)
Parameters
Type |
Name |
Description |
System.String |
attribute |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
HasClass(String)
Declaration
public bool HasClass(string className)
Parameters
Type |
Name |
Description |
System.String |
className |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
HasLocalProperty(String)
Declaration
public bool HasLocalProperty(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
HasProperty(String)
Declaration
public bool HasProperty(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
HasPseudoClass(String)
Declaration
public bool HasPseudoClass(string className)
Parameters
Type |
Name |
Description |
System.String |
className |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
InsertBefore(IRmlElement, IRmlElement)
Declaration
public void InsertBefore(IRmlElement child, IRmlElement adjacent)
Parameters
|
Improve this Doc
View Source
IsPointWithinElement(Vector2)
Declaration
public bool IsPointWithinElement(Vector2 point)
Parameters
Type |
Name |
Description |
System.Numerics.Vector2 |
point |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
QuerySelector(String)
Declaration
public IRmlElement QuerySelector(string selector)
Parameters
Type |
Name |
Description |
System.String |
selector |
|
Returns
|
Improve this Doc
View Source
QuerySelectorAll(String)
Declaration
public IRmlElement[] QuerySelectorAll(string selector)
Parameters
Type |
Name |
Description |
System.String |
selector |
|
Returns
|
Improve this Doc
View Source
RemoveAttribute(String)
Declaration
public bool RemoveAttribute(string attribute)
Parameters
Type |
Name |
Description |
System.String |
attribute |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
RemoveChild(IRmlElement)
Declaration
public void RemoveChild(IRmlElement child)
Parameters
|
Improve this Doc
View Source
RemoveClass(String)
Declaration
public bool RemoveClass(string className)
Parameters
Type |
Name |
Description |
System.String |
className |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
RemoveProperty(String)
Declaration
public bool RemoveProperty(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
RemovePseudoClass(String)
Declaration
public bool RemovePseudoClass(string className)
Parameters
Type |
Name |
Description |
System.String |
className |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ReplaceChild(IRmlElement, IRmlElement)
Declaration
public void ReplaceChild(IRmlElement newChild, IRmlElement oldChild)
Parameters
|
Improve this Doc
View Source
Declaration
public void ScrollIntoView(bool alignWithTop = true)
Parameters
Type |
Name |
Description |
System.Boolean |
alignWithTop |
|
|
Improve this Doc
View Source
SetAttribute(String, String)
Declaration
public void SetAttribute(string attribute, string value)
Parameters
Type |
Name |
Description |
System.String |
attribute |
|
System.String |
value |
|
|
Improve this Doc
View Source
SetOffset(IRmlElement, Vector2, Boolean)
Declaration
public void SetOffset(IRmlElement element, Vector2 offset, bool isFixed = false)
Parameters
Type |
Name |
Description |
IRmlElement |
element |
|
System.Numerics.Vector2 |
offset |
|
System.Boolean |
isFixed |
|
|
Improve this Doc
View Source
SetProperty(String, String)
Declaration
public void SetProperty(string key, string value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.String |
value |
|
Implements
Extension Methods