StylerEvent Class — NXOpen Python API Reference 12.0.0 documentation

# StylerEvent Class

class `NXOpen.UIStyler.``StylerEvent`

  Bases: `NXOpen.TransientObject`

  Represents a StylerEvent

  New in version NX5.0.0.

# Methods

Method | Description
--- | ---
Dispose | Free resources associated with the instance.
GetReason | Gets the reason for the event
GetStylerItem | Gets the dialog item

# Enumerations

StylerEventIndicator Enumeration | Describes indicator value
StylerEventMiscellaneous Enumeration | Describes event index
StylerEventReason Enumeration | Describes callback reason

# Method Detail

## Dispose

`StylerEvent.``Dispose`

  Free resources associated with the instance.

  After this method is called, it is illegal to use the object. In .NET or Java, this method is automatically called when the object is deleted by the garbage collector.

  Signature `Dispose()`

  New in version NX5.0.0.

  License requirements: None.

## GetReason

`StylerEvent.``GetReason`

  Gets the reason for the event

  Signature `GetReason()`

  Returns: | Reason
  Return type: | `NXOpen.UIStyler.StylerEventReason`

  New in version NX5.0.0.

  License requirements: None.

## GetStylerItem

`StylerEvent.``GetStylerItem`

  Gets the dialog item

  Signature `GetStylerItem()`

  Returns: |
  Return type: | `NXOpen.UIStyler.StylerItem`

  New in version NX5.0.0.

  License requirements: None.