Class GeoBase
An abstract class that serves two purposes:
- To unify all geometric properties
- To provide the GeometryChanged Event that Occurs when there is a geometry change to alert parent classes that they might need to update their geometry
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
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: Dxflib.Geometry
Assembly: Dxflib.dll
Syntax
public abstract class GeoBase : INotifyPropertyChanged
Properties
| Improve this Doc View SourceGeometryEntityType
The entity type
Declaration
public GeometryEntityTypes GeometryEntityType { get; protected set; }
Property Value
Type | Description |
---|---|
GeometryEntityTypes |
Methods
| Improve this Doc View SourceOnPropertyChanged(String)
Declaration
[NotifyPropertyChangedInvocator]
protected virtual void OnPropertyChanged(string propertyName = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName |
UpdateGeometry(String)
Virtual Function that will update the geometry of a geometric object
Declaration
protected virtual void UpdateGeometry(string command = "")
Parameters
Type | Name | Description |
---|---|---|
System.String | command | An optional Command |
Events
| Improve this Doc View SourcePropertyChanged
Property Changed Event Handler
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged