Nevron Open Vision Documentation
NElement Class Members
Fields  Properties  Methods  Events


The following tables list the members exposed by NElement.

Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)ExpressionChangedEventReference to the ExpressionChanged event  
Public Fieldstatic (Shared in Visual Basic)ExpressionChangingEventReference to the ExpressionChanging event  
Public Fieldstatic (Shared in Visual Basic)IdPropertyReference to the Id property  
Public Fieldstatic (Shared in Visual Basic)NElementSchemaSchema associated with NElement  
Public Fieldstatic (Shared in Visual Basic)UserClassPropertyReference to the UserClass property  
Public Fieldstatic (Shared in Visual Basic)UserIdPropertyReference to the UserId property  
Top
Public Properties
 NameDescription
Public PropertyIdGets the id of the element, which uniquely identifies the element inside the owner document. It is automatically assigned when the element is registered in a document and is also automatically set to -1 when the element is unregistered from the document. You can manually assign the next document Id to the element, before it is added to a specific document, by using AssingNextId method.  
Public PropertyUserClassGets or sets the User Class to which the element belongs. This property is usually assigned by the user and is used to group related elements. An element can belong to more than one user classes that should be separated by the ' '(space) character. For example: element.UserClass = "MyClass1 MyClass2" specifies that element belongs to both MyClass1 and MayClass2 classes. The NUserClassCondtion styling condition lets you select elements of a specific user class.  
Public PropertyUserIdGets or sets the User Id associated to this element. This property is usually assigned by the user and is used to identify specific elements in the document. Unlike the Id property, the value of this property is not guaranteed to be unique in the document. The NUserIdCondition styling condition lets you select elements with a specific User Id.  
Top
Public Methods
 NameDescription
Public MethodAssignNextIdAssigns the next document Id to this element. Use this method to generate an element Id, before it is registered in the specified document. Throws an expection if the element is already added to a document or the provided document is null. When an element Id is assigned to an element, it is a resposibility of the caller to ensure that the element is added to the elements subtree of the document for which the id was assigned.  
Public MethodClearValueOverridden. Clears the expression (if any) and the local value of the specified property and returns true on success.  
Public MethodGetFxOverloaded. Gets the expression for the self property with the specified name  
Public MethodGetValueOverloaded. Overridden. Gets the current computed value of the specified property.  
Public MethodSetFxOverloaded. Sets the expression to the self property with the specified name  
Public MethodSetFxForceOverloaded. Sets the expression to the self property with the specified name by force.  
Public MethodSetValueOverridden. Sets a value for the specified property.  
Top
Protected Methods
 NameDescription
Protected MethodConsumeCustomValueEffectCalled by ConsumeValueEffect, when the flags contain a Custom property flag.  
Protected MethodDeepCopyCoreOverridden. Called to perform the actual deep copying of the source node.  
Protected MethodInvalidateParentArrangeInvalidates the arrange of the element arrange parent. This implementation calls the InvalidateArrangeFromChild method of the first ancestor element that implements the INArrangeElementParent interface.  
Protected MethodInvalidateParentDisplayInvalidates the display of element display parent(s).  
Protected MethodInvalidateParentMeasureInvalidates the measure of the element measure parent. This implementation calls the InvalidateMeasureFromChild method of the first ancestor element that implements the INMeasureElementParent interface.  
Protected MethodOnAttributeChangedCalled when an owned attribute has changed.  
Protected MethodOnFxChangedCalled when the expression associated with a property has changed  
Protected MethodOnFxChangingCalled when the expression associated with a property is changing  
Protected MethodSetFxCoreStores the expression in the internal expressions store  
Top
See Also

Reference

NElement Class
Nevron.Nov.Dom Namespace

 

 


©2017. Nevron Software LLC.

Send Feedback