NXOpen .NET Reference
12.0.0
|
Represents a Snap Dialog More...
Public Member Functions | |
unsafe string | Add (string itemType, string itemTitle, string itemValue) |
Adds items to the snap dialog More... | |
unsafe void | AddItem (string itemType, string itemID) |
Adds block items to the snap dialog More... | |
Public Member Functions inherited from NXOpen.BlockStyler.BlockDialog | |
delegate int | Update (NXOpen.BlockStyler.UIBlock stylerItem) |
Update callback More... | |
delegate bool | EnableOKButton () |
Callback to enable OK and Apply buttons of the dialog. More... | |
delegate int | Filter (NXOpen.BlockStyler.UIBlock selectionBlock, NXOpen.TaggedObject selectedObject) |
Filter callback More... | |
delegate int | Ok () |
Ok callback More... | |
delegate int | Apply () |
Apply callback More... | |
delegate int | Cancel () |
Cancel callback More... | |
delegate int | Close () |
Close callback More... | |
delegate void | Initialize () |
Initialize callback More... | |
delegate void | DialogShown () |
Dialog Shown callback More... | |
delegate void | FocusNotify (NXOpen.BlockStyler.UIBlock focusBlock, bool isFocus) |
Focus notify callback. More... | |
delegate void | KeyboardFocusNotify (NXOpen.BlockStyler.UIBlock block, bool isFocus) |
Keyboard focus notify callback. More... | |
unsafe void | AddUpdateHandler (NXOpen.BlockStyler.BlockDialog.Update cb) |
Adds Update callback handler to the dialog. More... | |
unsafe void | AddEnableOKButtonHandler (NXOpen.BlockStyler.BlockDialog.EnableOKButton cb) |
Adds enable-ok-button callback handler to the dialog. More... | |
unsafe void | AddFilterHandler (NXOpen.BlockStyler.BlockDialog.Filter cb) |
Adds Filter callback handler to the dialog. More... | |
unsafe void | AddOkHandler (NXOpen.BlockStyler.BlockDialog.Ok okCb) |
Adds Ok callback handler to the dialog. More... | |
unsafe void | AddApplyHandler (NXOpen.BlockStyler.BlockDialog.Apply applyCb) |
Adds Apply callback handler to the dialog. More... | |
unsafe void | AddCancelHandler (NXOpen.BlockStyler.BlockDialog.Cancel cancelCb) |
Adds Cancel callback handler to the dialog. More... | |
unsafe void | AddCloseHandler (NXOpen.BlockStyler.BlockDialog.Close closeCb) |
Adds Close callback handler to the dialog. More... | |
unsafe void | AddInitializeHandler (NXOpen.BlockStyler.BlockDialog.Initialize cb) |
Adds Initialize callback handler to the dialog. More... | |
unsafe void | AddDialogShownHandler (NXOpen.BlockStyler.BlockDialog.DialogShown cb) |
Adds Dialog Shown callback handler to the dialog. More... | |
unsafe NXOpen.Selection.Response | Show () |
Shows the dialog in BlockStyler.BlockDialog.DialogMode.Create mode. More... | |
unsafe NXOpen.Selection.Response | Show (NXOpen.BlockStyler.BlockDialog.DialogMode dialogMode) |
Shows the dialog based upon the mode specified in BlockStyler.BlockDialog.DialogMode . More... | |
unsafe void | PerformApply () |
Performs an Apply and restarts the dialog. More... | |
unsafe void | PerformOK () |
Performs an OK and closes the dialog. More... | |
unsafe void | PerformCancel () |
Performs a Cancel and closes the dialog. More... | |
unsafe void | AddFocusNotifyHandler (NXOpen.BlockStyler.BlockDialog.FocusNotify cb) |
Adds focus notify callback handler to the dialog. More... | |
unsafe void | AddKeyboardFocusNotifyHandler (NXOpen.BlockStyler.BlockDialog.KeyboardFocusNotify cb) |
Adds keyboard focus notify callback handler to the dialog. More... | |
unsafe void | RegisterUserDefinedUIBlock (NXOpen.BlockStyler.BlockDialog blockDialog, string blockId) |
Registers the reusable block with the dialog More... | |
unsafe NXOpen.BlockStyler.PropertyList | GetBlockProperties (string blockName) |
Gets the properties of a block More... | |
Protected Member Functions | |
override void | FreeResource () |
Frees the object from memory. More... | |
Protected Member Functions inherited from NXOpen.BlockStyler.BlockDialog | |
override void | FreeResource () |
Frees the object from memory. More... | |
Additional Inherited Members | |
Public Types inherited from NXOpen.BlockStyler.BlockDialog | |
enum | DialogMode { Create, Edit } |
Datatype containing options for showing the dialog More... | |
Properties inherited from NXOpen.BlockStyler.BlockDialog | |
unsafe NXOpen.BlockStyler.CompositeBlock | TopBlock [get] |
Returns a composite block that contains all the blocks in the dialog More... | |
Represents a Snap Dialog
Created in NX8.0.0
unsafe string NXOpen.BlockStyler.SnapBlockDialog.Add | ( | string | itemType, |
string | itemTitle, | ||
string | itemValue | ||
) |
Adds items to the snap dialog
Created in NX8.0.0
License requirements: None.
itemType | |
itemTitle | |
itemValue |
unsafe void NXOpen.BlockStyler.SnapBlockDialog.AddItem | ( | string | itemType, |
string | itemID | ||
) |
Adds block items to the snap dialog
Created in NX8.0.0
License requirements: None.
itemType | |
itemID |
|
protected |
Frees the object from memory.
After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.
Created in NX8.0.0
License requirements: None.