ApplyCancelProperty#

class ansys.mechanical.stubs.v261.Ansys.ACT.Mechanical.AdditionalProperties.ApplyCancelProperty(name: str, groupName: str)#

Bases: object

Provides a way to create properties with Apply/Cancel buttons.

Overview#

CopyFrom

CopyFrom method.

Equals

Equals method.

GetHashCode

GetHashCode method.

GetObjectData

GetObjectData method.

GetType

GetType method.

Resume

Resume method.

ToString

ToString method.

add_OnAfterPropertyChanged

add_OnAfterPropertyChanged method.

add_OnBeforePropertyChanged

add_OnBeforePropertyChanged method.

remove_OnAfterPropertyChanged

remove_OnAfterPropertyChanged method.

remove_OnBeforePropertyChanged

remove_OnBeforePropertyChanged method.

Access

Access property.

DisplayName

The name of the property shown in the UI. If not set, the Name property is used.

GroupName

The group name of the property shown in the UI, and used to separate properties based on group name.

ID

ID property.

Name

The name of the property.

Owner

Owner property.

PropertyControl

PropertyControl property.

ReadOnly

Returns whether a property is readonly.

Tag

Tag property.

Tooltip

The tooltip of the property in the UI.

Type

Type property.

Valid

Returns whether a property is valid.

Value

The stored value of the property.

ValueString

Get the string representation of the value.

Property detail#

property ApplyCancelProperty.Access: Ansys.Common.Interop.WBPropertyBrowsing.AnsPropertyAccess | None#

Access property.

property ApplyCancelProperty.DisplayName: str | None#

The name of the property shown in the UI. If not set, the Name property is used.

property ApplyCancelProperty.GroupName: str | None#

The group name of the property shown in the UI, and used to separate properties based on group name.

property ApplyCancelProperty.ID: int | None#

ID property.

property ApplyCancelProperty.Name: str | None#

The name of the property.

property ApplyCancelProperty.Owner: Any | None#

Owner property.

property ApplyCancelProperty.PropertyControl: Ansys.ACT.Mechanical.AdditionalProperties.Control | None#

PropertyControl property.

property ApplyCancelProperty.ReadOnly: bool | None#

Returns whether a property is readonly.

property ApplyCancelProperty.Tag: Any | None#

Tag property.

property ApplyCancelProperty.Tooltip: str | None#

The tooltip of the property in the UI.

property ApplyCancelProperty.Type: System.UInt16 | None#

Type property.

property ApplyCancelProperty.Valid: bool | None#

Returns whether a property is valid.

property ApplyCancelProperty.Value: Any | None#

The stored value of the property.

property ApplyCancelProperty.ValueString: str | None#

Get the string representation of the value.

Method detail#

ApplyCancelProperty.CopyFrom(property: Ansys.ACT.Mechanical.AdditionalProperties.CustomProperty) None#

CopyFrom method.

ApplyCancelProperty.Equals(obj: Any) bool#

Equals method.

ApplyCancelProperty.GetHashCode() int#

GetHashCode method.

ApplyCancelProperty.GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext) None#

GetObjectData method.

ApplyCancelProperty.GetType() type#

GetType method.

ApplyCancelProperty.Resume(property: Ansys.ACT.Mechanical.AdditionalProperties.CustomProperty) None#

Resume method.

ApplyCancelProperty.ToString() str#

ToString method.

ApplyCancelProperty.add_OnAfterPropertyChanged(value: System.EventHandler[Any]) None#

add_OnAfterPropertyChanged method.

ApplyCancelProperty.add_OnBeforePropertyChanged(value: System.EventHandler[Any]) None#

add_OnBeforePropertyChanged method.

ApplyCancelProperty.remove_OnAfterPropertyChanged(value: System.EventHandler[Any]) None#

remove_OnAfterPropertyChanged method.

ApplyCancelProperty.remove_OnBeforePropertyChanged(value: System.EventHandler[Any]) None#

remove_OnBeforePropertyChanged method.