Class AttributeDescriptor.WeightResolvingEventArgs
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
elemElementThe element the weight for the given attribute descriptor needs to be resolved.
descriptorAttributeDescriptorThe 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.