    

 ## On this page

  

 

 # Class ObjectBaseFEColorEvent

 Last update: 16.07.2025 

Namespace: [VM.Managed.DAFUL.FE.History](VM.Managed.DAFUL.FE.History.md)  
Assembly: VMFE.dll

This class is to represent the color event for fe body.

```csharp
public class ObjectBaseFEColorEvent : ObjectBaseMeshColorEvent

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← HistoryEvent ← [ObjectBaseMeshColorEvent](VM.Managed.DAFUL.FE.History.ObjectBaseMeshColorEvent.md) ← [ObjectBaseFEColorEvent](VM.Managed.DAFUL.FE.History.ObjectBaseFEColorEvent.md)

#### Inherited Members

[ObjectBaseMeshColorEvent.m\_Color](VM.Managed.DAFUL.FE.History.ObjectBaseMeshColorEvent.md#VM_Managed_DAFUL_FE_History_ObjectBaseMeshColorEvent_m_Color), [ObjectBaseMeshColorEvent.m\_keyObj](VM.Managed.DAFUL.FE.History.ObjectBaseMeshColorEvent.md#VM_Managed_DAFUL_FE_History_ObjectBaseMeshColorEvent_m_keyObj), [ObjectBaseMeshColorEvent.Undo(HistoryEventArgs)](VM.Managed.DAFUL.FE.History.ObjectBaseMeshColorEvent.md#VM_Managed_DAFUL_FE_History_ObjectBaseMeshColorEvent_Undo_VM_Managed_History_HistoryEventArgs_), [ObjectBaseMeshColorEvent.Redo(HistoryEventArgs)](VM.Managed.DAFUL.FE.History.ObjectBaseMeshColorEvent.md#VM_Managed_DAFUL_FE_History_ObjectBaseMeshColorEvent_Redo_VM_Managed_History_HistoryEventArgs_), [ObjectBaseMeshColorEvent.Clear(bool)](VM.Managed.DAFUL.FE.History.ObjectBaseMeshColorEvent.md#VM_Managed_DAFUL_FE_History_ObjectBaseMeshColorEvent_Clear_System_Boolean_), [ObjectBaseMeshColorEvent.GetColor()](VM.Managed.DAFUL.FE.History.ObjectBaseMeshColorEvent.md#VM_Managed_DAFUL_FE_History_ObjectBaseMeshColorEvent_GetColor), [ObjectBaseMeshColorEvent.ReplaceColor(Color)](VM.Managed.DAFUL.FE.History.ObjectBaseMeshColorEvent.md#VM_Managed_DAFUL_FE_History_ObjectBaseMeshColorEvent_ReplaceColor_System_Drawing_Color_), HistoryEvent.ClearEvent(bool), HistoryEvent.Undo(HistoryEventArgs), HistoryEvent.Redo(HistoryEventArgs), HistoryEvent.Clear(bool), HistoryEvent.BeforeUndo(HistoryEventArgs), HistoryEvent.AfterUndo(HistoryEventArgs), HistoryEvent.BeforeRedo(HistoryEventArgs), HistoryEvent.AfterRedo(HistoryEventArgs), HistoryEvent.BeforeAdded(AddToHistoryManagerEventArgs), HistoryEvent.AfterAdded(HistoryEventArgs), HistoryEvent.IsValid

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### ObjectBaseFEColorEvent(object, Color)

```csharp
public ObjectBaseFEColorEvent(object obOriginal, Color color)

```

#### Parameters

`obOriginal` [object](https://learn.microsoft.com/dotnet/api/system.object)

`color` [Color](https://learn.microsoft.com/dotnet/api/system.drawing.color)

### ObjectBaseFEColorEvent(object)

```csharp
public ObjectBaseFEColorEvent(object obOriginal)

```

#### Parameters

`obOriginal` [object](https://learn.microsoft.com/dotnet/api/system.object)

## Methods

### GetColor()

```csharp
protected override Color GetColor()

```

#### Returns

[Color](https://learn.microsoft.com/dotnet/api/system.drawing.color)

### ReplaceColor(Color)

```csharp
protected override void ReplaceColor(Color color)

```

#### Parameters

`color` [Color](https://learn.microsoft.com/dotnet/api/system.drawing.color)