    

 ## On this page

  

 

 #  Class DriverFunction

 Last update: 16.07.2025 

Namespace: [VM.Managed.DAFUL.Constraints](VM.Managed.DAFUL.Constraints.md)  
Assembly: VMDCB.dll

This class is to represent the function as driver.

```csharp
public sealed class DriverFunction : Driver, IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable, IEnableForSimulationScenario

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← ObservableObject ← LinkableBase ← LinkContainer ← [Driver](VM.Managed.DAFUL.Constraints.Driver.md) ← [DriverFunction](VM.Managed.DAFUL.Constraints.DriverFunction.md)

#### Implements

IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable, IEnableForSimulationScenario

#### Inherited Members

[Driver.Type](VM.Managed.DAFUL.Constraints.Driver.md#VM_Managed_DAFUL_Constraints_Driver_Type), LinkContainer.SetModified(), LinkContainer.raise\_OnUpdating(object, LinkEventArgs), LinkContainer.raise\_OnUpdate(object, LinkEventArgs), LinkContainer.raise\_OnDestroying(object, LinkEventArgs), LinkContainer.raise\_OnDestroy(object, LinkEventArgs), LinkContainer.raise\_OnAdded(object, AddToDocEventArgs), LinkContainer.raise\_OnRemoved(object, RemoveFromDocEventArgs), LinkContainer.GetTargetListForUpdate(), LinkContainer.SkipUpdateObjectImpl(), LinkContainer.Initialize(Unit.ConvertFactor), LinkContainer.SetFlagWhenXMLFile(string, bool), LinkContainer.SetContainer(IOwned, bool), LinkContainer.Container, LinkContainer.Owner, LinkContainer.Document, LinkContainer.ID, LinkContainer.IsChildExternable, LinkContainer.IsExternable, LinkContainer.OnRemoved, LinkContainer.OnAdded, LinkContainer.OnDestroy, LinkContainer.OnDestroying, LinkContainer.OnUpdate, LinkContainer.OnUpdating, ObservableObject.Dispose(), ObservableObject.RaisePropertyChanged(string), ObservableObject.RaisePropertyChanged(string, object, object), ObservableObject.IsDisposed, ObservableObject.TryDisposing, ObservableObject.Disposed, ObservableObject.Disposing, ObservableObject.PropertyChanged

#### 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(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### <a id="VM_Managed_DAFUL_Constraints_DriverFunction__ctor"></a> DriverFunction()

Initializes a new instance of the  class.

```csharp
public DriverFunction()

```

### <a id="VM_Managed_DAFUL_Constraints_DriverFunction__ctor_VM_Managed_DAFUL_Constraints_PropertyConstraint_"></a> DriverFunction(PropertyConstraint)

Initializes a new instance of the  class.

```csharp
public DriverFunction(PropertyConstraint owner)

```

#### Parameters

`owner` [PropertyConstraint](VM.Managed.DAFUL.Constraints.PropertyConstraint.md)

owner constraint property.

## Fields

### <a id="VM_Managed_DAFUL_Constraints_DriverFunction_Motion"></a> Motion

Represents a motion type.

```csharp
public DriverFunction.MotionType Motion

```

#### Field Value

[DriverFunction](VM.Managed.DAFUL.Constraints.DriverFunction.md).[MotionType](VM.Managed.DAFUL.Constraints.DriverFunction.MotionType.md)

## Properties

### <a id="VM_Managed_DAFUL_Constraints_DriverFunction_Function"></a> Function

Gets or sets the function.

```csharp
public Function Function { get; set; }

```

#### Property Value

Function

### <a id="VM_Managed_DAFUL_Constraints_DriverFunction_InitialCondition"></a> InitialCondition

Gets or sets the initial condition.

```csharp
public InitialCondition InitialCondition { get; set; }

```

#### Property Value

[InitialCondition](VM.Managed.DAFUL.Constraints.InitialCondition.md)

### <a id="VM_Managed_DAFUL_Constraints_DriverFunction_Type"></a> Type

Gets or sets the driver type.

```csharp
public override Driver.DriverType Type { get; protected set; }

```

#### Property Value

[Driver](VM.Managed.DAFUL.Constraints.Driver.md).[DriverType](VM.Managed.DAFUL.Constraints.Driver.DriverType.md)