Table of Contents

Class AttributeDescriptor.WeightResolvingEventArgs

Namespace
Ranorex.Core
Assembly
Ranorex.Core.dll

Event args for the WeightResolving event. The Weight property can be dynamically changed be the handler.

public class AttributeDescriptor.WeightResolvingEventArgs : EventArgs
Inheritance
AttributeDescriptor.WeightResolvingEventArgs
Inherited Members

Constructors

WeightResolvingEventArgs(Element, AttributeDescriptor)

Initializes a new instance of the AttributeDescriptor.WeightResolvingEventArgs class.

public WeightResolvingEventArgs(Element elem, AttributeDescriptor descriptor)

Parameters

elem Element

The element the weight for the given attribute descriptor needs to be resolved.

descriptor AttributeDescriptor

The descriptor.

Properties

Descriptor

Gets the descriptor.

public AttributeDescriptor Descriptor { get; }

Property Value

AttributeDescriptor

The descriptor.

Element

Gets the element.

public Element Element { get; }

Property Value

Element

The element.

Weight

Gets or sets the weight.

public int Weight { get; set; }

Property Value

int

The weight.