Class DimensionStyleOverrideDictionaryEventArgs
Represents the arguments thrown by the DimensionStyleOverrideDictionary events.
Inheritance
System.Object
System.EventArgs
DimensionStyleOverrideDictionaryEventArgs
Inherited Members
System.EventArgs.Empty
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)
System.Object.ToString()
Namespace: netDxf.Collections
Assembly: CADability.dll
Syntax
public class DimensionStyleOverrideDictionaryEventArgs : EventArgs
Constructors
| Improve this Doc View SourceDimensionStyleOverrideDictionaryEventArgs(DimensionStyleOverride)
Initializes a new instance of DimensionStyleOverrideDictionaryEventArgs.
Declaration
public DimensionStyleOverrideDictionaryEventArgs(DimensionStyleOverride item)
Parameters
| Type | Name | Description |
|---|---|---|
| DimensionStyleOverride | item | Item that is being added or removed from the dictionary. |
Properties
| Improve this Doc View SourceCancel
Gets or sets if the operation must be canceled.
Declaration
public bool Cancel { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Remarks
This property is used by the BeforeAddItem and BeforeRemoveItem events to cancel the add or remove operations.
Item
Get the item that is being added to or removed from the dictionary.
Declaration
public DimensionStyleOverride Item { get; }
Property Value
| Type | Description |
|---|---|
| DimensionStyleOverride |