    

 ## On this page

  

 

 # Class PropertySlidingBearing

 Last update: 09.03.2026 

<a id="VM_Managed_DAFUL_GearTrain_PropertySlidingBearing"></a>

Namespace: [VM.Managed.DAFUL.GearTrain](VM.Managed.DAFUL.GearTrain.md)  
Assembly: VMDGearTrain.dll

Property Sliding Bearing

```csharp
public class PropertySlidingBearing : Property, IObservableObject, IDisposableObject, ILinkable, IObjectBase, IObject, IEventProvider, IHasKeyObject, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IContainer, ILinkContainer, IOwned, IHasID

```

#### Inheritance

object ← ObservableObject ← [LinkableBase](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/LinkableBase.cs) ← ObjectBase ← Object&lt;PropertyEventCore&gt; ← ContainerObject&lt;PropertyEventCore&gt; ← [Property](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/Property.cs) ← [PropertySlidingBearing](VM.Managed.DAFUL.GearTrain.PropertySlidingBearing.md)

#### Implements

IObservableObject, IDisposableObject, ILinkable, IObjectBase, IObject, IEventProvider, IHasKeyObject, ILinkContainerEvent, IVerifiable, [IHistoryObjectSerializable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/Interfaces.cs), IAttributeContainer, IContainer, ILinkContainer, IOwned, IHasID

#### Inherited Members

[Property.Initialize(Unit.ConvertFactor)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/Property.cs), [Property.PropertyRequestUpdate(object, LinkEventArgs)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/Property.cs), [Property.OnUpdatePropertyImpl(Property, LinkEventArgs)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/Property.cs), [Property.GetUnnamedObjectName(object)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/Property.cs), [Property.FindLocal(string)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/Property.cs), [Property.Draw(Canvas, TMatrix, TMatrix, bool)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/Property.cs), ContainerObject&lt;PropertyEventCore&gt;.Find(string), ContainerObject&lt;PropertyEventCore&gt;.FindLocal(string), ContainerObject&lt;PropertyEventCore&gt;.GetUnnamedObjectName(object), ContainerObject&lt;PropertyEventCore&gt;.GetNewEntityName(string), ContainerObject&lt;PropertyEventCore&gt;.GetNewEntityName(string, bool, int), ContainerObject&lt;PropertyEventCore&gt;.GetNewEntityName(string, bool, int, int), Object&lt;PropertyEventCore&gt;.GetKey(), Object&lt;PropertyEventCore&gt;.Initialize(Unit.ConvertFactor), Object&lt;PropertyEventCore&gt;.SetIconColor(Canvas), Object&lt;PropertyEventCore&gt;.OnDeserialization(object), Object&lt;PropertyEventCore&gt;.CustomGetObjectData(SerializationInfo, StreamingContext), Object&lt;PropertyEventCore&gt;.RollbackEvent(), Object&lt;PropertyEventCore&gt;.OnDeserializedCore(object), Object&lt;PropertyEventCore&gt;.Key, Object&lt;PropertyEventCore&gt;.UntypedEventCore, Object&lt;PropertyEventCore&gt;.EventCore, Object&lt;PropertyEventCore&gt;.Attributes, ObjectBase.ReplaceEventCore(ObjectEventCore), ObjectBase.SetModifiedCore(ModifiedResult.ModifiedType), ObjectBase.AddPostDeserialize(StreamingContext), ObjectBase.LinkAddedToDocumentCore(IOwned, bool), ObjectBase.SetModified(ModifiedResult.ModifiedType), ObjectBase.SetModified(), ObjectBase.SetModified(ModifiedResult.ModifiedType, IDocument), ObjectBase.DestroyObject(object, LinkEventArgs), ObjectBase.DestroyObject(DestroyEventArgs), ObjectBase.DestroyObject(), ObjectBase.Initialize(Unit.ConvertFactor), ObjectBase.FixUp(ObjectBase), ObjectBase.DoWorkAfterUpdateContents(), ObjectBase.SetOldNameWithNewEntity(ObjectBase, ObjectBase), ObjectBase.SetIconColor(Canvas), ObjectBase.RemoveFromCreatedList(), ObjectBase.PostAddToDocument(), ObjectBase.PostRemoveFromDocument(Document), ObjectBase.GetArgumentList(LinkedList&lt;ObjectBase&gt;), ObjectBase.ResetInvalidEntity(), ObjectBase.OnDeserialization(object), ObjectBase.IsSerializableEvent(Delegate), ObjectBase.CustomGetObjectData(SerializationInfo, StreamingContext), ObjectBase.CheckAndUpdateLink(HashSet&lt;ObjectBase&gt;), ObjectBase.Verify(VerifiedResult), ObjectBase.ConnectProxy(), ObjectBase.RollbackEvent(), ObjectBase.LinkRequestUpdating(object, LinkEventArgs), ObjectBase.LinkRequestUpdate(object, LinkEventArgs), ObjectBase.LinkRequestDestroying(object, LinkEventArgs), ObjectBase.LinkRequestDestroy(object, LinkEventArgs), ObjectBase.LinkAddedToDocument(object, AddToDocEventArgs), ObjectBase.LinkRemovedFromDocument(object, RemoveFromDocEventArgs), ObjectBase.DisposeManagedResources(), ObjectBase.GetDestroyEventExtraData(), ObjectBase.OnLinkReserved(ILink, object, EventArgs), ObjectBase.CreateEntityWhenUpdateContents(Action), ObjectBase.GetObjectByKey(UIntPtr), ObjectBase.FindObjectOnXmlDeserialize(string), ObjectBase.UpdateContents(XmlReader, ObjectBase, string), ObjectBase.UpdateContents(XmlReader, ObjectBase), ObjectBase.UpdateContents(string, string), ObjectBase.UpdateContents(string), ObjectBase.SetFlagWhenXMLFile(string, bool), ObjectBase.IsEqualArray&lt;T&gt;(T\[\], T\[\]), ObjectBase.IsEqualList(List&lt;double&gt;, List&lt;double&gt;), ObjectBase.SetContainer(IOwned, bool), ObjectBase.GetTargetListForUpdate(), ObjectBase.SkipUpdateObjectImpl(), ObjectBase.raise\_OnUpdating(object, LinkEventArgs), ObjectBase.raise\_OnUpdate(object, LinkEventArgs), ObjectBase.raise\_OnDestroying(object, LinkEventArgs), ObjectBase.raise\_OnDestroy(object, LinkEventArgs), ObjectBase.raise\_Destroying(object, Identifier), ObjectBase.raise\_OnAdded(object, AddToDocEventArgs), ObjectBase.raise\_OnRemoved(object, RemoveFromDocEventArgs), ObjectBase.raise\_OnContentsUpdated(object, EventArgs), ObjectBase.Dispose(bool), ObjectBase.SkipModified, ObjectBase.ClearChildInfoBeforeDeserialize, ObjectBase.KeyImpl, ObjectBase.ID, ObjectBase.TopologyEntityTypeName, ObjectBase.ObjectStateForCircularError, ObjectBase.ObjectState, ObjectBase.IsChildExternable, ObjectBase.IsExternable, ObjectBase.Container, ObjectBase.Owner, ObjectBase.Document, ObjectBase.UntypedEventCore, ObjectBase.KernelKey, ObjectBase.Key, ObjectBase.OnContentsUpdated, ObjectBase.OnRemoved, ObjectBase.OnAdded, ObjectBase.Destroying, ObjectBase.OnDestroy, ObjectBase.OnDestroying, ObjectBase.OnUpdate, ObjectBase.OnUpdating, [LinkableBase.OnDeserialization(object)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/LinkableBase.cs), ObservableObject.Dispose(), ObservableObject.RaisePropertyChanged(string), ObservableObject.RaisePropertyChanged(string, object, object), ObservableObject.Dispose(bool), ObservableObject.DisposeManagedResources(), ObservableObject.DisposeUnmanagedResources(), 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&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

### <a id="VM_Managed_DAFUL_GearTrain_PropertySlidingBearing__ctor"></a> PropertySlidingBearing()

Initializes a new instance of the  class.

```csharp
public PropertySlidingBearing()

```

## Properties

### <a id="VM_Managed_DAFUL_GearTrain_PropertySlidingBearing_Color"></a> Color

Gets or sets the color. Use SetColor() when this instance sets for undo/redo

```csharp
public string Color { get; set; }

```

#### Property Value

string

### <a id="VM_Managed_DAFUL_GearTrain_PropertySlidingBearing_ContactInfo"></a> ContactInfo

Gets or sets the the contact info.

```csharp
public SBContact ContactInfo { get; set; }

```

#### Property Value

[SBContact](VM.Managed.DAFUL.GearTrain.SBContact.md)

### <a id="VM_Managed_DAFUL_GearTrain_PropertySlidingBearing_ContactType"></a> ContactType

Gets or sets the type of the contact. Use SetContactType() when this instance sets for undo/redo

```csharp
public enSBContactType ContactType { get; set; }

```

#### Property Value

[enSBContactType](VM.Managed.DAFUL.GearTrain.enSBContactType.md)

### <a id="VM_Managed_DAFUL_GearTrain_PropertySlidingBearing_DrawingColor"></a> DrawingColor

Gets the color of the drawing.

```csharp
public Color DrawingColor { get; }

```

#### Property Value

Color

### <a id="VM_Managed_DAFUL_GearTrain_PropertySlidingBearing_GeomInfo"></a> GeomInfo

Gets or sets the geom information.

```csharp
public SBGeometryInfo GeomInfo { get; set; }

```

#### Property Value

[SBGeometryInfo](VM.Managed.DAFUL.GearTrain.SBGeometryInfo.md)

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

Gets or sets the type. Use SetType() when this instance sets for undo/redo

```csharp
public enSlidingBearingType Type { get; set; }

```

#### Property Value

[enSlidingBearingType](VM.Managed.DAFUL.GearTrain.enSlidingBearingType.md)

## Methods

### <a id="VM_Managed_DAFUL_GearTrain_PropertySlidingBearing_FindLocal_System_String_"></a> FindLocal(string)

Finds an object that matches a specified name in local.

```csharp
public override IObjectBase FindLocal(string strName)

```

#### Parameters

`strName` string

Name to search for.

#### Returns

IObjectBase

An object that matches a specified name.

### <a id="VM_Managed_DAFUL_GearTrain_PropertySlidingBearing_Initialize_VM_Unit_ConvertFactor_"></a> Initialize(ConvertFactor)

Initializes member through unit convert factor.

```csharp
public override void Initialize(Unit.ConvertFactor factor)

```

#### Parameters

`factor` Unit.ConvertFactor

The unit convert factor.

### <a id="VM_Managed_DAFUL_GearTrain_PropertySlidingBearing_SetColor_System_String_"></a> SetColor(string)

Set color.

```csharp
public void SetColor(string color)

```

#### Parameters

`color` string

The color.

### <a id="VM_Managed_DAFUL_GearTrain_PropertySlidingBearing_SetContactType_VM_Managed_DAFUL_GearTrain_enSBContactType_"></a> SetContactType(enSBContactType)

Set type of the contact.

```csharp
public void SetContactType(enSBContactType type)

```

#### Parameters

`type` [enSBContactType](VM.Managed.DAFUL.GearTrain.enSBContactType.md)

The type of the contact.

### <a id="VM_Managed_DAFUL_GearTrain_PropertySlidingBearing_SetType_VM_Managed_DAFUL_GearTrain_enSlidingBearingType_"></a> SetType(enSlidingBearingType)

Set type.

```csharp
public void SetType(enSlidingBearingType type)

```

#### Parameters

`type` [enSlidingBearingType](VM.Managed.DAFUL.GearTrain.enSlidingBearingType.md)

The type.